aws-sdk-ec2 1.652.0 → 1.653.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +245 -20
- data/lib/aws-sdk-ec2/client_api.rb +95 -0
- data/lib/aws-sdk-ec2/types.rb +369 -19
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +50 -5
- data/sig/params.rbs +11 -0
- data/sig/types.rbs +75 -3
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -8135,6 +8135,11 @@ module Aws::EC2
|
|
|
8135
8135
|
# compliance, if applicable.
|
|
8136
8136
|
# @return [Array<String>]
|
|
8137
8137
|
#
|
|
8138
|
+
# @!attribute [rw] authorization_policy_last_evaluated_time
|
|
8139
|
+
# The date and time the authorization policy was last evaluated for
|
|
8140
|
+
# the client connection, if applicable.
|
|
8141
|
+
# @return [String]
|
|
8142
|
+
#
|
|
8138
8143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnConnection AWS API Documentation
|
|
8139
8144
|
#
|
|
8140
8145
|
class ClientVpnConnection < Struct.new(
|
|
@@ -8152,7 +8157,8 @@ module Aws::EC2
|
|
|
8152
8157
|
:common_name,
|
|
8153
8158
|
:status,
|
|
8154
8159
|
:connection_end_time,
|
|
8155
|
-
:posture_compliance_statuses
|
|
8160
|
+
:posture_compliance_statuses,
|
|
8161
|
+
:authorization_policy_last_evaluated_time)
|
|
8156
8162
|
SENSITIVE = []
|
|
8157
8163
|
include Aws::Structure
|
|
8158
8164
|
end
|
|
@@ -8328,6 +8334,11 @@ module Aws::EC2
|
|
|
8328
8334
|
# The Transit Gateway configuration for the Client VPN endpoint.
|
|
8329
8335
|
# @return [Types::TransitGatewayConfigurationDescribeEndpointStructure]
|
|
8330
8336
|
#
|
|
8337
|
+
# @!attribute [rw] device_posture_options
|
|
8338
|
+
# The device trust providers configured for the Client VPN endpoint,
|
|
8339
|
+
# if applicable.
|
|
8340
|
+
# @return [Types::DevicePostureResponseOptions]
|
|
8341
|
+
#
|
|
8331
8342
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
|
|
8332
8343
|
#
|
|
8333
8344
|
class ClientVpnEndpoint < Struct.new(
|
|
@@ -8358,7 +8369,8 @@ module Aws::EC2
|
|
|
8358
8369
|
:disconnect_on_session_timeout,
|
|
8359
8370
|
:endpoint_ip_address_type,
|
|
8360
8371
|
:traffic_ip_address_type,
|
|
8361
|
-
:transit_gateway_configuration
|
|
8372
|
+
:transit_gateway_configuration,
|
|
8373
|
+
:device_posture_options)
|
|
8362
8374
|
SENSITIVE = []
|
|
8363
8375
|
include Aws::Structure
|
|
8364
8376
|
end
|
|
@@ -8495,6 +8507,70 @@ module Aws::EC2
|
|
|
8495
8507
|
include Aws::Structure
|
|
8496
8508
|
end
|
|
8497
8509
|
|
|
8510
|
+
# Information about a device trust provider configured for a Client VPN
|
|
8511
|
+
# endpoint.
|
|
8512
|
+
#
|
|
8513
|
+
# @!attribute [rw] trust_provider_type
|
|
8514
|
+
# The type of the device trust provider. Possible values include:
|
|
8515
|
+
#
|
|
8516
|
+
# * `crowdstrike` - CrowdStrike device trust provider.
|
|
8517
|
+
#
|
|
8518
|
+
# * `jamf` - Jamf device trust provider.
|
|
8519
|
+
#
|
|
8520
|
+
# * `jumpcloud` - JumpCloud device trust provider.
|
|
8521
|
+
# @return [String]
|
|
8522
|
+
#
|
|
8523
|
+
# @!attribute [rw] tenant_id
|
|
8524
|
+
# The tenant ID associated with your device trust provider account.
|
|
8525
|
+
# @return [String]
|
|
8526
|
+
#
|
|
8527
|
+
# @!attribute [rw] public_signing_key_url
|
|
8528
|
+
# The URL of the public signing key that is used to verify the
|
|
8529
|
+
# identity token issued by the device trust provider.
|
|
8530
|
+
# @return [String]
|
|
8531
|
+
#
|
|
8532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnTrustProvider AWS API Documentation
|
|
8533
|
+
#
|
|
8534
|
+
class ClientVpnTrustProvider < Struct.new(
|
|
8535
|
+
:trust_provider_type,
|
|
8536
|
+
:tenant_id,
|
|
8537
|
+
:public_signing_key_url)
|
|
8538
|
+
SENSITIVE = []
|
|
8539
|
+
include Aws::Structure
|
|
8540
|
+
end
|
|
8541
|
+
|
|
8542
|
+
# Describes a device trust provider to configure for a Client VPN
|
|
8543
|
+
# endpoint.
|
|
8544
|
+
#
|
|
8545
|
+
# @!attribute [rw] trust_provider_type
|
|
8546
|
+
# The type of the device trust provider. Possible values include:
|
|
8547
|
+
#
|
|
8548
|
+
# * `crowdstrike` - CrowdStrike device trust provider.
|
|
8549
|
+
#
|
|
8550
|
+
# * `jamf` - Jamf device trust provider.
|
|
8551
|
+
#
|
|
8552
|
+
# * `jumpcloud` - JumpCloud device trust provider.
|
|
8553
|
+
# @return [String]
|
|
8554
|
+
#
|
|
8555
|
+
# @!attribute [rw] tenant_id
|
|
8556
|
+
# The tenant ID associated with your device trust provider account.
|
|
8557
|
+
# @return [String]
|
|
8558
|
+
#
|
|
8559
|
+
# @!attribute [rw] public_signing_key_url
|
|
8560
|
+
# The URL of the public signing key that is used to verify the
|
|
8561
|
+
# identity token issued by the device trust provider.
|
|
8562
|
+
# @return [String]
|
|
8563
|
+
#
|
|
8564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnTrustProviderRequest AWS API Documentation
|
|
8565
|
+
#
|
|
8566
|
+
class ClientVpnTrustProviderRequest < Struct.new(
|
|
8567
|
+
:trust_provider_type,
|
|
8568
|
+
:tenant_id,
|
|
8569
|
+
:public_signing_key_url)
|
|
8570
|
+
SENSITIVE = []
|
|
8571
|
+
include Aws::Structure
|
|
8572
|
+
end
|
|
8573
|
+
|
|
8498
8574
|
# Options for sending VPN tunnel logs to CloudWatch.
|
|
8499
8575
|
#
|
|
8500
8576
|
# @!attribute [rw] log_enabled
|
|
@@ -8747,12 +8823,18 @@ module Aws::EC2
|
|
|
8747
8823
|
# data is published.
|
|
8748
8824
|
# @return [String]
|
|
8749
8825
|
#
|
|
8826
|
+
# @!attribute [rw] include_authorization_policy_context
|
|
8827
|
+
# Specifies whether to include the authorization policy evaluation
|
|
8828
|
+
# context in the connection logs for the Client VPN endpoint.
|
|
8829
|
+
# @return [Boolean]
|
|
8830
|
+
#
|
|
8750
8831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConnectionLogOptions AWS API Documentation
|
|
8751
8832
|
#
|
|
8752
8833
|
class ConnectionLogOptions < Struct.new(
|
|
8753
8834
|
:enabled,
|
|
8754
8835
|
:cloudwatch_log_group,
|
|
8755
|
-
:cloudwatch_log_stream
|
|
8836
|
+
:cloudwatch_log_stream,
|
|
8837
|
+
:include_authorization_policy_context)
|
|
8756
8838
|
SENSITIVE = []
|
|
8757
8839
|
include Aws::Structure
|
|
8758
8840
|
end
|
|
@@ -8775,12 +8857,18 @@ module Aws::EC2
|
|
|
8775
8857
|
# connection logging data is published.
|
|
8776
8858
|
# @return [String]
|
|
8777
8859
|
#
|
|
8860
|
+
# @!attribute [rw] include_authorization_policy_context
|
|
8861
|
+
# Specifies whether the authorization policy evaluation context is
|
|
8862
|
+
# included in the connection logs for the Client VPN endpoint.
|
|
8863
|
+
# @return [Boolean]
|
|
8864
|
+
#
|
|
8778
8865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConnectionLogResponseOptions AWS API Documentation
|
|
8779
8866
|
#
|
|
8780
8867
|
class ConnectionLogResponseOptions < Struct.new(
|
|
8781
8868
|
:enabled,
|
|
8782
8869
|
:cloudwatch_log_group,
|
|
8783
|
-
:cloudwatch_log_stream
|
|
8870
|
+
:cloudwatch_log_stream,
|
|
8871
|
+
:include_authorization_policy_context)
|
|
8784
8872
|
SENSITIVE = []
|
|
8785
8873
|
include Aws::Structure
|
|
8786
8874
|
end
|
|
@@ -10811,6 +10899,12 @@ module Aws::EC2
|
|
|
10811
10899
|
# `TransitGatewayConfiguration` and `VpcId`/`SecurityGroupIds`.
|
|
10812
10900
|
# @return [Types::TransitGatewayConfigurationInputStructure]
|
|
10813
10901
|
#
|
|
10902
|
+
# @!attribute [rw] device_posture_options
|
|
10903
|
+
# The device posture options for the Client VPN endpoint. Use this
|
|
10904
|
+
# parameter to specify the device trust providers that the endpoint
|
|
10905
|
+
# uses to evaluate the security posture of connecting devices.
|
|
10906
|
+
# @return [Types::DevicePostureOptions]
|
|
10907
|
+
#
|
|
10814
10908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
|
|
10815
10909
|
#
|
|
10816
10910
|
class CreateClientVpnEndpointRequest < Struct.new(
|
|
@@ -10836,7 +10930,8 @@ module Aws::EC2
|
|
|
10836
10930
|
:disconnect_on_session_timeout,
|
|
10837
10931
|
:endpoint_ip_address_type,
|
|
10838
10932
|
:traffic_ip_address_type,
|
|
10839
|
-
:transit_gateway_configuration
|
|
10933
|
+
:transit_gateway_configuration,
|
|
10934
|
+
:device_posture_options)
|
|
10840
10935
|
SENSITIVE = []
|
|
10841
10936
|
include Aws::Structure
|
|
10842
10937
|
end
|
|
@@ -18378,7 +18473,14 @@ module Aws::EC2
|
|
|
18378
18473
|
# @!attribute [rw] vpc_endpoint_type
|
|
18379
18474
|
# The type of endpoint.
|
|
18380
18475
|
#
|
|
18476
|
+
# For more information about the types of VPC endpoints, see [VPC
|
|
18477
|
+
# endpoints][1] in the *Amazon Web Services PrivateLink User Guide*.
|
|
18478
|
+
#
|
|
18381
18479
|
# Default: Gateway
|
|
18480
|
+
#
|
|
18481
|
+
#
|
|
18482
|
+
#
|
|
18483
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html#concepts-vpc-endpoints
|
|
18382
18484
|
# @return [String]
|
|
18383
18485
|
#
|
|
18384
18486
|
# @!attribute [rw] vpc_id
|
|
@@ -18401,15 +18503,21 @@ module Aws::EC2
|
|
|
18401
18503
|
# @return [Array<String>]
|
|
18402
18504
|
#
|
|
18403
18505
|
# @!attribute [rw] subnet_ids
|
|
18404
|
-
# (Interface
|
|
18405
|
-
#
|
|
18406
|
-
#
|
|
18506
|
+
# (Interface, Gateway Load Balancer endpoints, Resource,
|
|
18507
|
+
# ServiceNetwork, and Tunnel endpoints only) The IDs of the subnets in
|
|
18508
|
+
# which to create endpoint network interfaces. For a Gateway Load
|
|
18509
|
+
# Balancer endpoint, you can specify only one subnet. For a `Tunnel`
|
|
18510
|
+
# endpoint, the subnets must be in the Availability Zones of the
|
|
18511
|
+
# resource gateway associated with the shared resource configuration.
|
|
18512
|
+
# An endpoint network interface is created only in an Availability
|
|
18513
|
+
# Zone that the resource gateway is also in.
|
|
18407
18514
|
# @return [Array<String>]
|
|
18408
18515
|
#
|
|
18409
18516
|
# @!attribute [rw] security_group_ids
|
|
18410
|
-
# (Interface
|
|
18411
|
-
#
|
|
18412
|
-
# specified, we use the default
|
|
18517
|
+
# (Interface, Resource, ServiceNetwork, and Tunnel endpoints only) The
|
|
18518
|
+
# IDs of the security groups to associate with the endpoint network
|
|
18519
|
+
# interfaces. If this parameter is not specified, we use the default
|
|
18520
|
+
# security group for the VPC.
|
|
18413
18521
|
# @return [Array<String>]
|
|
18414
18522
|
#
|
|
18415
18523
|
# @!attribute [rw] ip_address_type
|
|
@@ -18459,8 +18567,29 @@ module Aws::EC2
|
|
|
18459
18567
|
# @return [String]
|
|
18460
18568
|
#
|
|
18461
18569
|
# @!attribute [rw] resource_configuration_arn
|
|
18462
|
-
# The Amazon Resource Name (ARN)
|
|
18463
|
-
#
|
|
18570
|
+
# (Resource and Tunnel endpoints only) The Amazon Resource Name (ARN)
|
|
18571
|
+
# of a resource configuration associated with the VPC endpoint. The
|
|
18572
|
+
# type of resource configuration depends on the endpoint type:
|
|
18573
|
+
#
|
|
18574
|
+
# * For a Resource endpoint, you can specify a resource configuration
|
|
18575
|
+
# that is of type `SINGLE`, `GROUP`, or `ARN`. To reach a resource
|
|
18576
|
+
# that belongs to a group, specify the parent `GROUP` resource
|
|
18577
|
+
# configuration.
|
|
18578
|
+
#
|
|
18579
|
+
# * For a Tunnel endpoint, you can specify a resource configuration
|
|
18580
|
+
# that is of type `CIDR`.
|
|
18581
|
+
#
|
|
18582
|
+
# For more information about the types of resource configurations, see
|
|
18583
|
+
# [Types of resource configurations][1] in the *Amazon Web Services
|
|
18584
|
+
# PrivateLink User Guide*.
|
|
18585
|
+
#
|
|
18586
|
+
# This request fails if a VPC endpoint owned by a different Amazon Web
|
|
18587
|
+
# Services account already exists on a resource gateway that is
|
|
18588
|
+
# enabled for `ResourceGatewayCharges` payer responsibility.
|
|
18589
|
+
#
|
|
18590
|
+
#
|
|
18591
|
+
#
|
|
18592
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/privatelink/resource-configuration.html
|
|
18464
18593
|
# @return [String]
|
|
18465
18594
|
#
|
|
18466
18595
|
# @!attribute [rw] service_region
|
|
@@ -19463,6 +19592,38 @@ module Aws::EC2
|
|
|
19463
19592
|
include Aws::Structure
|
|
19464
19593
|
end
|
|
19465
19594
|
|
|
19595
|
+
# @!attribute [rw] client_vpn_endpoint_id
|
|
19596
|
+
# The ID of the Client VPN endpoint.
|
|
19597
|
+
# @return [String]
|
|
19598
|
+
#
|
|
19599
|
+
# @!attribute [rw] dry_run
|
|
19600
|
+
# Checks whether you have the required permissions for the action,
|
|
19601
|
+
# without actually making the request, and provides an error response.
|
|
19602
|
+
# If you have the required permissions, the error response is
|
|
19603
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
19604
|
+
# @return [Boolean]
|
|
19605
|
+
#
|
|
19606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteClientVpnEndpointAuthorizationPolicyRequest AWS API Documentation
|
|
19607
|
+
#
|
|
19608
|
+
class DeleteClientVpnEndpointAuthorizationPolicyRequest < Struct.new(
|
|
19609
|
+
:client_vpn_endpoint_id,
|
|
19610
|
+
:dry_run)
|
|
19611
|
+
SENSITIVE = []
|
|
19612
|
+
include Aws::Structure
|
|
19613
|
+
end
|
|
19614
|
+
|
|
19615
|
+
# @!attribute [rw] status
|
|
19616
|
+
# The current state of the authorization policy.
|
|
19617
|
+
# @return [String]
|
|
19618
|
+
#
|
|
19619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteClientVpnEndpointAuthorizationPolicyResult AWS API Documentation
|
|
19620
|
+
#
|
|
19621
|
+
class DeleteClientVpnEndpointAuthorizationPolicyResult < Struct.new(
|
|
19622
|
+
:status)
|
|
19623
|
+
SENSITIVE = []
|
|
19624
|
+
include Aws::Structure
|
|
19625
|
+
end
|
|
19626
|
+
|
|
19466
19627
|
# @!attribute [rw] client_vpn_endpoint_id
|
|
19467
19628
|
# The ID of the Client VPN to be deleted.
|
|
19468
19629
|
# @return [String]
|
|
@@ -37897,7 +38058,7 @@ module Aws::EC2
|
|
|
37897
38058
|
#
|
|
37898
38059
|
# * `vpc-endpoint-type` - The type of VPC endpoint (`Interface` \|
|
|
37899
38060
|
# `Gateway` \| `GatewayLoadBalancer` \| `Resource` \|
|
|
37900
|
-
# `ServiceNetwork`).
|
|
38061
|
+
# `ServiceNetwork` \| `Tunnel`).
|
|
37901
38062
|
# @return [Array<Types::Filter>]
|
|
37902
38063
|
#
|
|
37903
38064
|
# @!attribute [rw] max_results
|
|
@@ -38712,6 +38873,44 @@ module Aws::EC2
|
|
|
38712
38873
|
include Aws::Structure
|
|
38713
38874
|
end
|
|
38714
38875
|
|
|
38876
|
+
# Describes the device posture options for a Client VPN endpoint. Device
|
|
38877
|
+
# posture options specify the device trust providers that the endpoint
|
|
38878
|
+
# uses to evaluate the security posture of connecting devices.
|
|
38879
|
+
#
|
|
38880
|
+
# @!attribute [rw] trust_providers
|
|
38881
|
+
# The device trust providers to configure for the Client VPN endpoint.
|
|
38882
|
+
# @return [Array<Types::ClientVpnTrustProviderRequest>]
|
|
38883
|
+
#
|
|
38884
|
+
# @!attribute [rw] enabled
|
|
38885
|
+
# Indicates whether device posture evaluation is enabled for the
|
|
38886
|
+
# Client VPN endpoint. Specify `false` to disable device posture,
|
|
38887
|
+
# which clears the configured device trust providers.
|
|
38888
|
+
# @return [Boolean]
|
|
38889
|
+
#
|
|
38890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DevicePostureOptions AWS API Documentation
|
|
38891
|
+
#
|
|
38892
|
+
class DevicePostureOptions < Struct.new(
|
|
38893
|
+
:trust_providers,
|
|
38894
|
+
:enabled)
|
|
38895
|
+
SENSITIVE = []
|
|
38896
|
+
include Aws::Structure
|
|
38897
|
+
end
|
|
38898
|
+
|
|
38899
|
+
# Information about the device posture options for a Client VPN
|
|
38900
|
+
# endpoint.
|
|
38901
|
+
#
|
|
38902
|
+
# @!attribute [rw] trust_providers
|
|
38903
|
+
# The device trust providers configured for the Client VPN endpoint.
|
|
38904
|
+
# @return [Array<Types::ClientVpnTrustProvider>]
|
|
38905
|
+
#
|
|
38906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DevicePostureResponseOptions AWS API Documentation
|
|
38907
|
+
#
|
|
38908
|
+
class DevicePostureResponseOptions < Struct.new(
|
|
38909
|
+
:trust_providers)
|
|
38910
|
+
SENSITIVE = []
|
|
38911
|
+
include Aws::Structure
|
|
38912
|
+
end
|
|
38913
|
+
|
|
38715
38914
|
# Describes a DHCP configuration option.
|
|
38716
38915
|
#
|
|
38717
38916
|
# @!attribute [rw] key
|
|
@@ -46683,6 +46882,65 @@ module Aws::EC2
|
|
|
46683
46882
|
include Aws::Structure
|
|
46684
46883
|
end
|
|
46685
46884
|
|
|
46885
|
+
# @!attribute [rw] client_vpn_endpoint_id
|
|
46886
|
+
# The ID of the Client VPN endpoint.
|
|
46887
|
+
# @return [String]
|
|
46888
|
+
#
|
|
46889
|
+
# @!attribute [rw] dry_run
|
|
46890
|
+
# Checks whether you have the required permissions for the action,
|
|
46891
|
+
# without actually making the request, and provides an error response.
|
|
46892
|
+
# If you have the required permissions, the error response is
|
|
46893
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
46894
|
+
# @return [Boolean]
|
|
46895
|
+
#
|
|
46896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetClientVpnEndpointAuthorizationPolicyRequest AWS API Documentation
|
|
46897
|
+
#
|
|
46898
|
+
class GetClientVpnEndpointAuthorizationPolicyRequest < Struct.new(
|
|
46899
|
+
:client_vpn_endpoint_id,
|
|
46900
|
+
:dry_run)
|
|
46901
|
+
SENSITIVE = []
|
|
46902
|
+
include Aws::Structure
|
|
46903
|
+
end
|
|
46904
|
+
|
|
46905
|
+
# @!attribute [rw] client_vpn_endpoint_id
|
|
46906
|
+
# The ID of the Client VPN endpoint.
|
|
46907
|
+
# @return [String]
|
|
46908
|
+
#
|
|
46909
|
+
# @!attribute [rw] policy_document
|
|
46910
|
+
# The authorization policy document, written in the Cedar policy
|
|
46911
|
+
# language.
|
|
46912
|
+
# @return [String]
|
|
46913
|
+
#
|
|
46914
|
+
# @!attribute [rw] description
|
|
46915
|
+
# A brief description of the authorization policy.
|
|
46916
|
+
# @return [String]
|
|
46917
|
+
#
|
|
46918
|
+
# @!attribute [rw] shadow_mode
|
|
46919
|
+
# Specifies whether the authorization policy is evaluated in shadow
|
|
46920
|
+
# mode. Possible values include:
|
|
46921
|
+
#
|
|
46922
|
+
# * `enabled` - The authorization policy is evaluated and the results
|
|
46923
|
+
# are logged, but access is not enforced.
|
|
46924
|
+
#
|
|
46925
|
+
# * `disabled` - The authorization policy is enforced.
|
|
46926
|
+
# @return [String]
|
|
46927
|
+
#
|
|
46928
|
+
# @!attribute [rw] status
|
|
46929
|
+
# The current state of the authorization policy.
|
|
46930
|
+
# @return [String]
|
|
46931
|
+
#
|
|
46932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetClientVpnEndpointAuthorizationPolicyResult AWS API Documentation
|
|
46933
|
+
#
|
|
46934
|
+
class GetClientVpnEndpointAuthorizationPolicyResult < Struct.new(
|
|
46935
|
+
:client_vpn_endpoint_id,
|
|
46936
|
+
:policy_document,
|
|
46937
|
+
:description,
|
|
46938
|
+
:shadow_mode,
|
|
46939
|
+
:status)
|
|
46940
|
+
SENSITIVE = []
|
|
46941
|
+
include Aws::Structure
|
|
46942
|
+
end
|
|
46943
|
+
|
|
46686
46944
|
# @!attribute [rw] pool_id
|
|
46687
46945
|
# The ID of the address pool.
|
|
46688
46946
|
# @return [String]
|
|
@@ -65154,6 +65412,78 @@ module Aws::EC2
|
|
|
65154
65412
|
include Aws::Structure
|
|
65155
65413
|
end
|
|
65156
65414
|
|
|
65415
|
+
# @!attribute [rw] client_vpn_endpoint_id
|
|
65416
|
+
# The ID of the Client VPN endpoint.
|
|
65417
|
+
# @return [String]
|
|
65418
|
+
#
|
|
65419
|
+
# @!attribute [rw] policy_document
|
|
65420
|
+
# The authorization policy document, written in the Cedar policy
|
|
65421
|
+
# language. This parameter is required when you create the
|
|
65422
|
+
# authorization policy for a Client VPN endpoint that does not already
|
|
65423
|
+
# have one.
|
|
65424
|
+
# @return [String]
|
|
65425
|
+
#
|
|
65426
|
+
# @!attribute [rw] description
|
|
65427
|
+
# A brief description of the authorization policy.
|
|
65428
|
+
# @return [String]
|
|
65429
|
+
#
|
|
65430
|
+
# @!attribute [rw] shadow_mode
|
|
65431
|
+
# Specifies whether the authorization policy is evaluated in shadow
|
|
65432
|
+
# mode. Possible values include:
|
|
65433
|
+
#
|
|
65434
|
+
# * `enabled` - The authorization policy is evaluated and the results
|
|
65435
|
+
# are logged, but access is not enforced.
|
|
65436
|
+
#
|
|
65437
|
+
# * `disabled` - The authorization policy is enforced.
|
|
65438
|
+
#
|
|
65439
|
+
# The default value is `disabled`.
|
|
65440
|
+
# @return [String]
|
|
65441
|
+
#
|
|
65442
|
+
# @!attribute [rw] client_token
|
|
65443
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
65444
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
65445
|
+
# idempotency][1].
|
|
65446
|
+
#
|
|
65447
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
65448
|
+
# not need to pass this option.
|
|
65449
|
+
#
|
|
65450
|
+
#
|
|
65451
|
+
#
|
|
65452
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
65453
|
+
# @return [String]
|
|
65454
|
+
#
|
|
65455
|
+
# @!attribute [rw] dry_run
|
|
65456
|
+
# Checks whether you have the required permissions for the action,
|
|
65457
|
+
# without actually making the request, and provides an error response.
|
|
65458
|
+
# If you have the required permissions, the error response is
|
|
65459
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
65460
|
+
# @return [Boolean]
|
|
65461
|
+
#
|
|
65462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointAuthorizationPolicyRequest AWS API Documentation
|
|
65463
|
+
#
|
|
65464
|
+
class ModifyClientVpnEndpointAuthorizationPolicyRequest < Struct.new(
|
|
65465
|
+
:client_vpn_endpoint_id,
|
|
65466
|
+
:policy_document,
|
|
65467
|
+
:description,
|
|
65468
|
+
:shadow_mode,
|
|
65469
|
+
:client_token,
|
|
65470
|
+
:dry_run)
|
|
65471
|
+
SENSITIVE = []
|
|
65472
|
+
include Aws::Structure
|
|
65473
|
+
end
|
|
65474
|
+
|
|
65475
|
+
# @!attribute [rw] status
|
|
65476
|
+
# The current state of the authorization policy.
|
|
65477
|
+
# @return [String]
|
|
65478
|
+
#
|
|
65479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointAuthorizationPolicyResult AWS API Documentation
|
|
65480
|
+
#
|
|
65481
|
+
class ModifyClientVpnEndpointAuthorizationPolicyResult < Struct.new(
|
|
65482
|
+
:status)
|
|
65483
|
+
SENSITIVE = []
|
|
65484
|
+
include Aws::Structure
|
|
65485
|
+
end
|
|
65486
|
+
|
|
65157
65487
|
# @!attribute [rw] client_vpn_endpoint_id
|
|
65158
65488
|
# The ID of the Client VPN endpoint to modify.
|
|
65159
65489
|
# @return [String]
|
|
@@ -65275,6 +65605,13 @@ module Aws::EC2
|
|
|
65275
65605
|
# option is currently not supported.
|
|
65276
65606
|
# @return [Types::TransitGatewayConfigurationInputStructure]
|
|
65277
65607
|
#
|
|
65608
|
+
# @!attribute [rw] device_posture_options
|
|
65609
|
+
# The device posture options for the Client VPN endpoint. Specifying
|
|
65610
|
+
# this parameter replaces the entire device posture configuration for
|
|
65611
|
+
# the endpoint. To remove all device trust providers, specify an empty
|
|
65612
|
+
# list.
|
|
65613
|
+
# @return [Types::DevicePostureOptions]
|
|
65614
|
+
#
|
|
65278
65615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointRequest AWS API Documentation
|
|
65279
65616
|
#
|
|
65280
65617
|
class ModifyClientVpnEndpointRequest < Struct.new(
|
|
@@ -65294,7 +65631,8 @@ module Aws::EC2
|
|
|
65294
65631
|
:client_login_banner_options,
|
|
65295
65632
|
:client_route_enforcement_options,
|
|
65296
65633
|
:disconnect_on_session_timeout,
|
|
65297
|
-
:transit_gateway_configuration
|
|
65634
|
+
:transit_gateway_configuration,
|
|
65635
|
+
:device_posture_options)
|
|
65298
65636
|
SENSITIVE = []
|
|
65299
65637
|
include Aws::Structure
|
|
65300
65638
|
end
|
|
@@ -91941,6 +92279,13 @@ module Aws::EC2
|
|
|
91941
92279
|
#
|
|
91942
92280
|
# @!attribute [rw] vpc_endpoint_type
|
|
91943
92281
|
# The type of endpoint.
|
|
92282
|
+
#
|
|
92283
|
+
# For more information about the types of VPC endpoints, see [VPC
|
|
92284
|
+
# endpoints][1] in the *Amazon Web Services PrivateLink User Guide*.
|
|
92285
|
+
#
|
|
92286
|
+
#
|
|
92287
|
+
#
|
|
92288
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html#concepts-vpc-endpoints
|
|
91944
92289
|
# @return [String]
|
|
91945
92290
|
#
|
|
91946
92291
|
# @!attribute [rw] vpc_id
|
|
@@ -91965,12 +92310,15 @@ module Aws::EC2
|
|
|
91965
92310
|
# @return [Array<String>]
|
|
91966
92311
|
#
|
|
91967
92312
|
# @!attribute [rw] subnet_ids
|
|
91968
|
-
# (Interface
|
|
92313
|
+
# (Interface, Gateway Load Balancer endpoints, Resource,
|
|
92314
|
+
# ServiceNetwork, and Tunnel endpoints only) The subnets for the
|
|
92315
|
+
# endpoint.
|
|
91969
92316
|
# @return [Array<String>]
|
|
91970
92317
|
#
|
|
91971
92318
|
# @!attribute [rw] groups
|
|
91972
|
-
# (Interface
|
|
91973
|
-
# associated with the
|
|
92319
|
+
# (Interface, Resource, ServiceNetwork, and Tunnel endpoints only)
|
|
92320
|
+
# Information about the security groups that are associated with the
|
|
92321
|
+
# network interface.
|
|
91974
92322
|
# @return [Array<Types::SecurityGroupIdentifier>]
|
|
91975
92323
|
#
|
|
91976
92324
|
# @!attribute [rw] ip_address_type
|
|
@@ -91991,7 +92339,9 @@ module Aws::EC2
|
|
|
91991
92339
|
# @return [Boolean]
|
|
91992
92340
|
#
|
|
91993
92341
|
# @!attribute [rw] network_interface_ids
|
|
91994
|
-
# (Interface
|
|
92342
|
+
# (Interface, Gateway Load Balancer endpoints, Resource,
|
|
92343
|
+
# ServiceNetwork, and Tunnel endpoints only) The network interfaces
|
|
92344
|
+
# for the endpoint.
|
|
91995
92345
|
# @return [Array<String>]
|
|
91996
92346
|
#
|
|
91997
92347
|
# @!attribute [rw] dns_entries
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1402,7 +1402,8 @@ module Aws
|
|
|
1402
1402
|
connection_log_options: {
|
|
1403
1403
|
enabled: bool?,
|
|
1404
1404
|
cloudwatch_log_group: ::String?,
|
|
1405
|
-
cloudwatch_log_stream: ::String
|
|
1405
|
+
cloudwatch_log_stream: ::String?,
|
|
1406
|
+
include_authorization_policy_context: bool?
|
|
1406
1407
|
},
|
|
1407
1408
|
?dns_servers: Array[::String],
|
|
1408
1409
|
?transport_protocol: ("tcp" | "udp"),
|
|
@@ -1444,7 +1445,8 @@ module Aws
|
|
|
1444
1445
|
transit_gateway_id: ::String?,
|
|
1445
1446
|
availability_zones: Array[::String]?,
|
|
1446
1447
|
availability_zone_ids: Array[::String]?
|
|
1447
|
-
}
|
|
1448
|
+
},
|
|
1449
|
+
?device_posture_options: Params::device_posture_options
|
|
1448
1450
|
) -> _CreateClientVpnEndpointResponseSuccess
|
|
1449
1451
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClientVpnEndpointResponseSuccess
|
|
1450
1452
|
|
|
@@ -2041,7 +2043,7 @@ module Aws
|
|
|
2041
2043
|
def create_ipam_internet_registry_association: (
|
|
2042
2044
|
?dry_run: bool,
|
|
2043
2045
|
ipam_id: ::String,
|
|
2044
|
-
rir: ("ripe" | "apnic" | "arin" | "lacnic"),
|
|
2046
|
+
rir: ("ripe" | "apnic" | "arin" | "lacnic" | "nicbr"),
|
|
2045
2047
|
organization_handle: ::String,
|
|
2046
2048
|
?description: ::String,
|
|
2047
2049
|
?tag_specifications: Array[
|
|
@@ -4344,6 +4346,17 @@ module Aws
|
|
|
4344
4346
|
) -> _DeleteClientVpnEndpointResponseSuccess
|
|
4345
4347
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClientVpnEndpointResponseSuccess
|
|
4346
4348
|
|
|
4349
|
+
interface _DeleteClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
4350
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClientVpnEndpointAuthorizationPolicyResult]
|
|
4351
|
+
def status: () -> ("creating" | "updating" | "active" | "failed" | "deleting")
|
|
4352
|
+
end
|
|
4353
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_client_vpn_endpoint_authorization_policy-instance_method
|
|
4354
|
+
def delete_client_vpn_endpoint_authorization_policy: (
|
|
4355
|
+
client_vpn_endpoint_id: ::String,
|
|
4356
|
+
?dry_run: bool
|
|
4357
|
+
) -> _DeleteClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
4358
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
4359
|
+
|
|
4347
4360
|
interface _DeleteClientVpnRouteResponseSuccess
|
|
4348
4361
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClientVpnRouteResult]
|
|
4349
4362
|
def status: () -> Types::ClientVpnRouteStatus
|
|
@@ -10325,6 +10338,21 @@ module Aws
|
|
|
10325
10338
|
) -> _GetCapacityReservationUsageResponseSuccess
|
|
10326
10339
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityReservationUsageResponseSuccess
|
|
10327
10340
|
|
|
10341
|
+
interface _GetClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
10342
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetClientVpnEndpointAuthorizationPolicyResult]
|
|
10343
|
+
def client_vpn_endpoint_id: () -> ::String
|
|
10344
|
+
def policy_document: () -> ::String
|
|
10345
|
+
def description: () -> ::String
|
|
10346
|
+
def shadow_mode: () -> ("enabled" | "disabled")
|
|
10347
|
+
def status: () -> ("creating" | "updating" | "active" | "failed" | "deleting")
|
|
10348
|
+
end
|
|
10349
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_client_vpn_endpoint_authorization_policy-instance_method
|
|
10350
|
+
def get_client_vpn_endpoint_authorization_policy: (
|
|
10351
|
+
client_vpn_endpoint_id: ::String,
|
|
10352
|
+
?dry_run: bool
|
|
10353
|
+
) -> _GetClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
10354
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
10355
|
+
|
|
10328
10356
|
interface _GetCoipPoolUsageResponseSuccess
|
|
10329
10357
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCoipPoolUsageResult]
|
|
10330
10358
|
def coip_pool_id: () -> ::String
|
|
@@ -11841,7 +11869,8 @@ module Aws
|
|
|
11841
11869
|
?connection_log_options: {
|
|
11842
11870
|
enabled: bool?,
|
|
11843
11871
|
cloudwatch_log_group: ::String?,
|
|
11844
|
-
cloudwatch_log_stream: ::String
|
|
11872
|
+
cloudwatch_log_stream: ::String?,
|
|
11873
|
+
include_authorization_policy_context: bool?
|
|
11845
11874
|
},
|
|
11846
11875
|
?dns_servers: {
|
|
11847
11876
|
custom_dns_servers: Array[::String]?,
|
|
@@ -11871,10 +11900,26 @@ module Aws
|
|
|
11871
11900
|
transit_gateway_id: ::String?,
|
|
11872
11901
|
availability_zones: Array[::String]?,
|
|
11873
11902
|
availability_zone_ids: Array[::String]?
|
|
11874
|
-
}
|
|
11903
|
+
},
|
|
11904
|
+
?device_posture_options: Params::device_posture_options
|
|
11875
11905
|
) -> _ModifyClientVpnEndpointResponseSuccess
|
|
11876
11906
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClientVpnEndpointResponseSuccess
|
|
11877
11907
|
|
|
11908
|
+
interface _ModifyClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
11909
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyClientVpnEndpointAuthorizationPolicyResult]
|
|
11910
|
+
def status: () -> ("creating" | "updating" | "active" | "failed" | "deleting")
|
|
11911
|
+
end
|
|
11912
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_client_vpn_endpoint_authorization_policy-instance_method
|
|
11913
|
+
def modify_client_vpn_endpoint_authorization_policy: (
|
|
11914
|
+
client_vpn_endpoint_id: ::String,
|
|
11915
|
+
?policy_document: ::String,
|
|
11916
|
+
?description: ::String,
|
|
11917
|
+
?shadow_mode: ("enabled" | "disabled"),
|
|
11918
|
+
?client_token: ::String,
|
|
11919
|
+
?dry_run: bool
|
|
11920
|
+
) -> _ModifyClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
11921
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClientVpnEndpointAuthorizationPolicyResponseSuccess
|
|
11922
|
+
|
|
11878
11923
|
interface _ModifyDefaultCreditSpecificationResponseSuccess
|
|
11879
11924
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyDefaultCreditSpecificationResult]
|
|
11880
11925
|
def instance_family_credit_specification: () -> Types::InstanceFamilyCreditSpecification
|
data/sig/params.rbs
CHANGED
|
@@ -58,6 +58,17 @@ module Aws
|
|
|
58
58
|
]?
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
type device_posture_options = {
|
|
62
|
+
trust_providers: Array[
|
|
63
|
+
{
|
|
64
|
+
trust_provider_type: ("crowdstrike" | "jamf" | "jumpcloud")?,
|
|
65
|
+
tenant_id: ::String?,
|
|
66
|
+
public_signing_key_url: ::String?
|
|
67
|
+
}
|
|
68
|
+
]?,
|
|
69
|
+
enabled: bool?
|
|
70
|
+
}
|
|
71
|
+
|
|
61
72
|
type fleet_launch_template_config_request = {
|
|
62
73
|
launch_template_specification: {
|
|
63
74
|
launch_template_id: ::String?,
|