Nothing
# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include ec2_service.R
NULL
#' Accepts an Elastic IP address transfer
#'
#' @description
#' Accepts an Elastic IP address transfer. For more information, see [Accept a transferred Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#using-instance-addressing-eips-transfer-accept) in the *Amazon Virtual Private Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_address_transfer/](https://www.paws-r-sdk.com/docs/ec2_accept_address_transfer/) for full documentation.
#'
#' @param Address [required] The Elastic IP address you are accepting for transfer.
#' @param TagSpecifications `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as the
#' filter value. For example, to find all resources that have a tag with
#' the key `Owner` and the value `TeamA`, specify `tag:Owner` for the
#' filter name and `TeamA` for the filter value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_address_transfer
ec2_accept_address_transfer <- function(Address, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "AcceptAddressTransfer",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_address_transfer_input(Address = Address, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$accept_address_transfer_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_address_transfer <- ec2_accept_address_transfer
#' Accepts the Convertible Reserved Instance exchange quote described in
#' the GetReservedInstancesExchangeQuote call
#'
#' @description
#' Accepts the Convertible Reserved Instance exchange quote described in the [`get_reserved_instances_exchange_quote`][ec2_get_reserved_instances_exchange_quote] call.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_reserved_instances_exchange_quote/](https://www.paws-r-sdk.com/docs/ec2_accept_reserved_instances_exchange_quote/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ReservedInstanceIds [required] The IDs of the Convertible Reserved Instances to exchange for another
#' Convertible Reserved Instance of the same or higher value.
#' @param TargetConfigurations The configuration of the target Convertible Reserved Instance to
#' exchange for your current Convertible Reserved Instances.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_reserved_instances_exchange_quote
ec2_accept_reserved_instances_exchange_quote <- function(DryRun = NULL, ReservedInstanceIds, TargetConfigurations = NULL) {
op <- new_operation(
name = "AcceptReservedInstancesExchangeQuote",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_reserved_instances_exchange_quote_input(DryRun = DryRun, ReservedInstanceIds = ReservedInstanceIds, TargetConfigurations = TargetConfigurations)
output <- .ec2$accept_reserved_instances_exchange_quote_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_reserved_instances_exchange_quote <- ec2_accept_reserved_instances_exchange_quote
#' Accepts a request to associate subnets with a transit gateway multicast
#' domain
#'
#' @description
#' Accepts a request to associate subnets with a transit gateway multicast domain.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_transit_gateway_multicast_domain_associations/](https://www.paws-r-sdk.com/docs/ec2_accept_transit_gateway_multicast_domain_associations/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId The ID of the transit gateway multicast domain.
#' @param TransitGatewayAttachmentId The ID of the transit gateway attachment.
#' @param SubnetIds The IDs of the subnets to associate with the transit gateway multicast
#' domain.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_transit_gateway_multicast_domain_associations
ec2_accept_transit_gateway_multicast_domain_associations <- function(TransitGatewayMulticastDomainId = NULL, TransitGatewayAttachmentId = NULL, SubnetIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "AcceptTransitGatewayMulticastDomainAssociations",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_transit_gateway_multicast_domain_associations_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, SubnetIds = SubnetIds, DryRun = DryRun)
output <- .ec2$accept_transit_gateway_multicast_domain_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_transit_gateway_multicast_domain_associations <- ec2_accept_transit_gateway_multicast_domain_associations
#' Accepts a transit gateway peering attachment request
#'
#' @description
#' Accepts a transit gateway peering attachment request. The peering attachment must be in the `pendingAcceptance` state.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_transit_gateway_peering_attachment/](https://www.paws-r-sdk.com/docs/ec2_accept_transit_gateway_peering_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the transit gateway attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_transit_gateway_peering_attachment
ec2_accept_transit_gateway_peering_attachment <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "AcceptTransitGatewayPeeringAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_transit_gateway_peering_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$accept_transit_gateway_peering_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_transit_gateway_peering_attachment <- ec2_accept_transit_gateway_peering_attachment
#' Accepts a request to attach a VPC to a transit gateway
#'
#' @description
#' Accepts a request to attach a VPC to a transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_transit_gateway_vpc_attachment/](https://www.paws-r-sdk.com/docs/ec2_accept_transit_gateway_vpc_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_transit_gateway_vpc_attachment
ec2_accept_transit_gateway_vpc_attachment <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "AcceptTransitGatewayVpcAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_transit_gateway_vpc_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$accept_transit_gateway_vpc_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_transit_gateway_vpc_attachment <- ec2_accept_transit_gateway_vpc_attachment
#' Accepts connection requests to your VPC endpoint service
#'
#' @description
#' Accepts connection requests to your VPC endpoint service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_vpc_endpoint_connections/](https://www.paws-r-sdk.com/docs/ec2_accept_vpc_endpoint_connections/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the VPC endpoint service.
#' @param VpcEndpointIds [required] The IDs of the interface VPC endpoints.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_vpc_endpoint_connections
ec2_accept_vpc_endpoint_connections <- function(DryRun = NULL, ServiceId, VpcEndpointIds) {
op <- new_operation(
name = "AcceptVpcEndpointConnections",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_vpc_endpoint_connections_input(DryRun = DryRun, ServiceId = ServiceId, VpcEndpointIds = VpcEndpointIds)
output <- .ec2$accept_vpc_endpoint_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_vpc_endpoint_connections <- ec2_accept_vpc_endpoint_connections
#' Accept a VPC peering connection request
#'
#' @description
#' Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the `pending-acceptance` state, and you must be the owner of the peer VPC. Use [`describe_vpc_peering_connections`][ec2_describe_vpc_peering_connections] to view your outstanding VPC peering connection requests.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_accept_vpc_peering_connection/](https://www.paws-r-sdk.com/docs/ec2_accept_vpc_peering_connection/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcPeeringConnectionId [required] The ID of the VPC peering connection. You must specify this parameter in
#' the request.
#'
#' @keywords internal
#'
#' @rdname ec2_accept_vpc_peering_connection
ec2_accept_vpc_peering_connection <- function(DryRun = NULL, VpcPeeringConnectionId) {
op <- new_operation(
name = "AcceptVpcPeeringConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$accept_vpc_peering_connection_input(DryRun = DryRun, VpcPeeringConnectionId = VpcPeeringConnectionId)
output <- .ec2$accept_vpc_peering_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$accept_vpc_peering_connection <- ec2_accept_vpc_peering_connection
#' Advertises an IPv4 or IPv6 address range that is provisioned for use
#' with your Amazon Web Services resources through bring your own IP
#' addresses (BYOIP)
#'
#' @description
#' Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_advertise_byoip_cidr/](https://www.paws-r-sdk.com/docs/ec2_advertise_byoip_cidr/) for full documentation.
#'
#' @param Cidr [required] The address range, in CIDR notation. This must be the exact range that
#' you provisioned. You can't advertise only a portion of the provisioned
#' range.
#' @param Asn The public 2-byte or 4-byte ASN that you want to advertise.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkBorderGroup If you have [Local
#' Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html)
#' enabled, you can choose a network border group for Local Zones when you
#' provision and advertise a BYOIPv4 CIDR. Choose the network border group
#' carefully as the EIP and the Amazon Web Services resource it is
#' associated with must reside in the same network border group.
#'
#' You can provision BYOIP address ranges to and advertise them in the
#' following Local Zone network border groups:
#'
#' - us-east-1-dfw-2
#'
#' - us-west-2-lax-1
#'
#' - us-west-2-phx-2
#'
#' You cannot provision or advertise BYOIPv6 address ranges in Local Zones
#' at this time.
#'
#' @keywords internal
#'
#' @rdname ec2_advertise_byoip_cidr
ec2_advertise_byoip_cidr <- function(Cidr, Asn = NULL, DryRun = NULL, NetworkBorderGroup = NULL) {
op <- new_operation(
name = "AdvertiseByoipCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$advertise_byoip_cidr_input(Cidr = Cidr, Asn = Asn, DryRun = DryRun, NetworkBorderGroup = NetworkBorderGroup)
output <- .ec2$advertise_byoip_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$advertise_byoip_cidr <- ec2_advertise_byoip_cidr
#' Allocates an Elastic IP address to your Amazon Web Services account
#'
#' @description
#' Allocates an Elastic IP address to your Amazon Web Services account. After you allocate the Elastic IP address you can associate it with an instance or network interface. After you release an Elastic IP address, it is released to the IP address pool and can be allocated to a different Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_allocate_address/](https://www.paws-r-sdk.com/docs/ec2_allocate_address/) for full documentation.
#'
#' @param Domain The network (`vpc`).
#' @param Address The Elastic IP address to recover or an IPv4 address from an address
#' pool.
#' @param PublicIpv4Pool The ID of an address pool that you own. Use this parameter to let Amazon
#' EC2 select an address from the address pool. To specify a specific
#' address from the address pool, use the `Address` parameter instead.
#' @param NetworkBorderGroup A unique set of Availability Zones, Local Zones, or Wavelength Zones
#' from which Amazon Web Services advertises IP addresses. Use this
#' parameter to limit the IP address to this location. IP addresses cannot
#' move between network border groups.
#'
#' Use [`describe_availability_zones`][ec2_describe_availability_zones] to
#' view the network border groups.
#' @param CustomerOwnedIpv4Pool The ID of a customer-owned address pool. Use this parameter to let
#' Amazon EC2 select an address from the address pool. Alternatively,
#' specify a specific address from the address pool.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to assign to the Elastic IP address.
#'
#' @keywords internal
#'
#' @rdname ec2_allocate_address
ec2_allocate_address <- function(Domain = NULL, Address = NULL, PublicIpv4Pool = NULL, NetworkBorderGroup = NULL, CustomerOwnedIpv4Pool = NULL, DryRun = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "AllocateAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$allocate_address_input(Domain = Domain, Address = Address, PublicIpv4Pool = PublicIpv4Pool, NetworkBorderGroup = NetworkBorderGroup, CustomerOwnedIpv4Pool = CustomerOwnedIpv4Pool, DryRun = DryRun, TagSpecifications = TagSpecifications)
output <- .ec2$allocate_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$allocate_address <- ec2_allocate_address
#' Allocates a Dedicated Host to your account
#'
#' @description
#' Allocates a Dedicated Host to your account. At a minimum, specify the supported instance type or instance family, the Availability Zone in which to allocate the host, and the number of hosts to allocate.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_allocate_hosts/](https://www.paws-r-sdk.com/docs/ec2_allocate_hosts/) for full documentation.
#'
#' @param AutoPlacement Indicates whether the host accepts any untargeted instance launches that
#' match its instance type configuration, or if it only accepts Host
#' tenancy instance launches that specify its unique host ID. For more
#' information, see [Understanding auto-placement and
#' affinity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding)
#' in the *Amazon EC2 User Guide*.
#'
#' Default: `on`
#' @param AvailabilityZone [required] The Availability Zone in which to allocate the Dedicated Host.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param InstanceType Specifies the instance type to be supported by the Dedicated Hosts. If
#' you specify an instance type, the Dedicated Hosts support instances of
#' the specified instance type only.
#'
#' If you want the Dedicated Hosts to support multiple instance types in a
#' specific instance family, omit this parameter and specify
#' **InstanceFamily** instead. You cannot specify **InstanceType** and
#' **InstanceFamily** in the same request.
#' @param InstanceFamily Specifies the instance family to be supported by the Dedicated Hosts. If
#' you specify an instance family, the Dedicated Hosts support multiple
#' instance types within that instance family.
#'
#' If you want the Dedicated Hosts to support a specific instance type
#' only, omit this parameter and specify **InstanceType** instead. You
#' cannot specify **InstanceFamily** and **InstanceType** in the same
#' request.
#' @param Quantity The number of Dedicated Hosts to allocate to your account with these
#' parameters. If you are allocating the Dedicated Hosts on an Outpost, and
#' you specify **AssetIds**, you can omit this parameter. In this case,
#' Amazon EC2 allocates a Dedicated Host on each specified hardware asset.
#' If you specify both **AssetIds** and **Quantity**, then the value that
#' you specify for **Quantity** must be equal to the number of asset IDs
#' specified.
#' @param TagSpecifications The tags to apply to the Dedicated Host during creation.
#' @param HostRecovery Indicates whether to enable or disable host recovery for the Dedicated
#' Host. Host recovery is disabled by default. For more information, see
#' [Host
#' recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html)
#' in the *Amazon EC2 User Guide*.
#'
#' Default: `off`
#' @param OutpostArn The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
#' which to allocate the Dedicated Host. If you specify **OutpostArn**, you
#' can optionally specify **AssetIds**.
#'
#' If you are allocating the Dedicated Host in a Region, omit this
#' parameter.
#' @param HostMaintenance Indicates whether to enable or disable host maintenance for the
#' Dedicated Host. For more information, see [Host
#' maintenance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html)
#' in the *Amazon EC2 User Guide*.
#' @param AssetIds The IDs of the Outpost hardware assets on which to allocate the
#' Dedicated Hosts. Targeting specific hardware assets on an Outpost can
#' help to minimize latency between your workloads. This parameter is
#' supported only if you specify **OutpostArn**. If you are allocating the
#' Dedicated Hosts in a Region, omit this parameter.
#'
#' - If you specify this parameter, you can omit **Quantity**. In this
#' case, Amazon EC2 allocates a Dedicated Host on each specified
#' hardware asset.
#'
#' - If you specify both **AssetIds** and **Quantity**, then the value
#' for **Quantity** must be equal to the number of asset IDs specified.
#'
#' @keywords internal
#'
#' @rdname ec2_allocate_hosts
ec2_allocate_hosts <- function(AutoPlacement = NULL, AvailabilityZone, ClientToken = NULL, InstanceType = NULL, InstanceFamily = NULL, Quantity = NULL, TagSpecifications = NULL, HostRecovery = NULL, OutpostArn = NULL, HostMaintenance = NULL, AssetIds = NULL) {
op <- new_operation(
name = "AllocateHosts",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$allocate_hosts_input(AutoPlacement = AutoPlacement, AvailabilityZone = AvailabilityZone, ClientToken = ClientToken, InstanceType = InstanceType, InstanceFamily = InstanceFamily, Quantity = Quantity, TagSpecifications = TagSpecifications, HostRecovery = HostRecovery, OutpostArn = OutpostArn, HostMaintenance = HostMaintenance, AssetIds = AssetIds)
output <- .ec2$allocate_hosts_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$allocate_hosts <- ec2_allocate_hosts
#' Allocate a CIDR from an IPAM pool
#'
#' @description
#' Allocate a CIDR from an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_allocate_ipam_pool_cidr/](https://www.paws-r-sdk.com/docs/ec2_allocate_ipam_pool_cidr/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool from which you would like to allocate a CIDR.
#' @param Cidr The CIDR you would like to allocate from the IPAM pool. Note the
#' following:
#'
#' - If there is no DefaultNetmaskLength allocation rule set on the pool,
#' you must specify either the NetmaskLength or the CIDR.
#'
#' - If the DefaultNetmaskLength allocation rule is set on the pool, you
#' can specify either the NetmaskLength or the CIDR and the
#' DefaultNetmaskLength allocation rule will be ignored.
#'
#' Possible values: Any available IPv4 or IPv6 CIDR.
#' @param NetmaskLength The netmask length of the CIDR you would like to allocate from the IPAM
#' pool. Note the following:
#'
#' - If there is no DefaultNetmaskLength allocation rule set on the pool,
#' you must specify either the NetmaskLength or the CIDR.
#'
#' - If the DefaultNetmaskLength allocation rule is set on the pool, you
#' can specify either the NetmaskLength or the CIDR and the
#' DefaultNetmaskLength allocation rule will be ignored.
#'
#' Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask
#' lengths for IPv6 addresses are 0 - 128.
#' @param ClientToken A unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param Description A description for the allocation.
#' @param PreviewNextCidr A preview of the next available CIDR in a pool.
#' @param AllowedCidrs Include a particular CIDR range that can be returned by the pool.
#' Allowed CIDRs are only allowed if using netmask length for allocation.
#' @param DisallowedCidrs Exclude a particular CIDR range from being returned by the pool.
#' Disallowed CIDRs are only allowed if using netmask length for
#' allocation.
#'
#' @keywords internal
#'
#' @rdname ec2_allocate_ipam_pool_cidr
ec2_allocate_ipam_pool_cidr <- function(DryRun = NULL, IpamPoolId, Cidr = NULL, NetmaskLength = NULL, ClientToken = NULL, Description = NULL, PreviewNextCidr = NULL, AllowedCidrs = NULL, DisallowedCidrs = NULL) {
op <- new_operation(
name = "AllocateIpamPoolCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$allocate_ipam_pool_cidr_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Cidr = Cidr, NetmaskLength = NetmaskLength, ClientToken = ClientToken, Description = Description, PreviewNextCidr = PreviewNextCidr, AllowedCidrs = AllowedCidrs, DisallowedCidrs = DisallowedCidrs)
output <- .ec2$allocate_ipam_pool_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$allocate_ipam_pool_cidr <- ec2_allocate_ipam_pool_cidr
#' Applies a security group to the association between the target network
#' and the Client VPN endpoint
#'
#' @description
#' Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing security groups with the specified security groups.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_apply_security_groups_to_client_vpn_target_network/](https://www.paws-r-sdk.com/docs/ec2_apply_security_groups_to_client_vpn_target_network/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param VpcId [required] The ID of the VPC in which the associated target network is located.
#' @param SecurityGroupIds [required] The IDs of the security groups to apply to the associated target
#' network. Up to 5 security groups can be applied to an associated target
#' network.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_apply_security_groups_to_client_vpn_target_network
ec2_apply_security_groups_to_client_vpn_target_network <- function(ClientVpnEndpointId, VpcId, SecurityGroupIds, DryRun = NULL) {
op <- new_operation(
name = "ApplySecurityGroupsToClientVpnTargetNetwork",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$apply_security_groups_to_client_vpn_target_network_input(ClientVpnEndpointId = ClientVpnEndpointId, VpcId = VpcId, SecurityGroupIds = SecurityGroupIds, DryRun = DryRun)
output <- .ec2$apply_security_groups_to_client_vpn_target_network_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$apply_security_groups_to_client_vpn_target_network <- ec2_apply_security_groups_to_client_vpn_target_network
#' Assigns one or more IPv6 addresses to the specified network interface
#'
#' @description
#' Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see [IP Addresses Per Network Interface Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_assign_ipv_6_addresses/](https://www.paws-r-sdk.com/docs/ec2_assign_ipv_6_addresses/) for full documentation.
#'
#' @param Ipv6AddressCount The number of additional IPv6 addresses to assign to the network
#' interface. The specified number of IPv6 addresses are assigned in
#' addition to the existing IPv6 addresses that are already assigned to the
#' network interface. Amazon EC2 automatically selects the IPv6 addresses
#' from the subnet range. You can't use this option if specifying specific
#' IPv6 addresses.
#' @param Ipv6Addresses The IPv6 addresses to be assigned to the network interface. You can't
#' use this option if you're specifying a number of IPv6 addresses.
#' @param Ipv6PrefixCount The number of IPv6 prefixes that Amazon Web Services automatically
#' assigns to the network interface. You cannot use this option if you use
#' the `Ipv6Prefixes` option.
#' @param Ipv6Prefixes One or more IPv6 prefixes assigned to the network interface. You cannot
#' use this option if you use the `Ipv6PrefixCount` option.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#'
#' @keywords internal
#'
#' @rdname ec2_assign_ipv_6_addresses
ec2_assign_ipv_6_addresses <- function(Ipv6AddressCount = NULL, Ipv6Addresses = NULL, Ipv6PrefixCount = NULL, Ipv6Prefixes = NULL, NetworkInterfaceId) {
op <- new_operation(
name = "AssignIpv6Addresses",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$assign_ipv_6_addresses_input(Ipv6AddressCount = Ipv6AddressCount, Ipv6Addresses = Ipv6Addresses, Ipv6PrefixCount = Ipv6PrefixCount, Ipv6Prefixes = Ipv6Prefixes, NetworkInterfaceId = NetworkInterfaceId)
output <- .ec2$assign_ipv_6_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$assign_ipv_6_addresses <- ec2_assign_ipv_6_addresses
#' Assigns one or more secondary private IP addresses to the specified
#' network interface
#'
#' @description
#' Assigns one or more secondary private IP addresses to the specified network interface.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_assign_private_ip_addresses/](https://www.paws-r-sdk.com/docs/ec2_assign_private_ip_addresses/) for full documentation.
#'
#' @param AllowReassignment Indicates whether to allow an IP address that is already assigned to
#' another network interface or instance to be reassigned to the specified
#' network interface.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#' @param PrivateIpAddresses The IP addresses to be assigned as a secondary private IP address to the
#' network interface. You can't specify this parameter when also specifying
#' a number of secondary IP addresses.
#'
#' If you don't specify an IP address, Amazon EC2 automatically selects an
#' IP address within the subnet range.
#' @param SecondaryPrivateIpAddressCount The number of secondary IP addresses to assign to the network interface.
#' You can't specify this parameter when also specifying private IP
#' addresses.
#' @param Ipv4Prefixes One or more IPv4 prefixes assigned to the network interface. You cannot
#' use this option if you use the `Ipv4PrefixCount` option.
#' @param Ipv4PrefixCount The number of IPv4 prefixes that Amazon Web Services automatically
#' assigns to the network interface. You cannot use this option if you use
#' the `Ipv4 Prefixes` option.
#'
#' @keywords internal
#'
#' @rdname ec2_assign_private_ip_addresses
ec2_assign_private_ip_addresses <- function(AllowReassignment = NULL, NetworkInterfaceId, PrivateIpAddresses = NULL, SecondaryPrivateIpAddressCount = NULL, Ipv4Prefixes = NULL, Ipv4PrefixCount = NULL) {
op <- new_operation(
name = "AssignPrivateIpAddresses",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$assign_private_ip_addresses_input(AllowReassignment = AllowReassignment, NetworkInterfaceId = NetworkInterfaceId, PrivateIpAddresses = PrivateIpAddresses, SecondaryPrivateIpAddressCount = SecondaryPrivateIpAddressCount, Ipv4Prefixes = Ipv4Prefixes, Ipv4PrefixCount = Ipv4PrefixCount)
output <- .ec2$assign_private_ip_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$assign_private_ip_addresses <- ec2_assign_private_ip_addresses
#' Assigns one or more private IPv4 addresses to a private NAT gateway
#'
#' @description
#' Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, see [Work with NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_assign_private_nat_gateway_address/](https://www.paws-r-sdk.com/docs/ec2_assign_private_nat_gateway_address/) for full documentation.
#'
#' @param NatGatewayId [required] The ID of the NAT gateway.
#' @param PrivateIpAddresses The private IPv4 addresses you want to assign to the private NAT
#' gateway.
#' @param PrivateIpAddressCount The number of private IP addresses to assign to the NAT gateway. You
#' can't specify this parameter when also specifying private IP addresses.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_assign_private_nat_gateway_address
ec2_assign_private_nat_gateway_address <- function(NatGatewayId, PrivateIpAddresses = NULL, PrivateIpAddressCount = NULL, DryRun = NULL) {
op <- new_operation(
name = "AssignPrivateNatGatewayAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$assign_private_nat_gateway_address_input(NatGatewayId = NatGatewayId, PrivateIpAddresses = PrivateIpAddresses, PrivateIpAddressCount = PrivateIpAddressCount, DryRun = DryRun)
output <- .ec2$assign_private_nat_gateway_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$assign_private_nat_gateway_address <- ec2_assign_private_nat_gateway_address
#' Associates an Elastic IP address, or carrier IP address (for instances
#' that are in subnets in Wavelength Zones) with an instance or a network
#' interface
#'
#' @description
#' Associates an Elastic IP address, or carrier IP address (for instances that are in subnets in Wavelength Zones) with an instance or a network interface. Before you can use an Elastic IP address, you must allocate it to your account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_address/](https://www.paws-r-sdk.com/docs/ec2_associate_address/) for full documentation.
#'
#' @param AllocationId The allocation ID. This is required.
#' @param InstanceId The ID of the instance. The instance must have exactly one attached
#' network interface. You can specify either the instance ID or the network
#' interface ID, but not both.
#' @param PublicIp Deprecated.
#' @param AllowReassociation Reassociation is automatic, but you can specify false to ensure the
#' operation fails if the Elastic IP address is already associated with
#' another resource.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInterfaceId The ID of the network interface. If the instance has more than one
#' network interface, you must specify a network interface ID.
#'
#' You can specify either the instance ID or the network interface ID, but
#' not both.
#' @param PrivateIpAddress The primary or secondary private IP address to associate with the
#' Elastic IP address. If no private IP address is specified, the Elastic
#' IP address is associated with the primary private IP address.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_address
ec2_associate_address <- function(AllocationId = NULL, InstanceId = NULL, PublicIp = NULL, AllowReassociation = NULL, DryRun = NULL, NetworkInterfaceId = NULL, PrivateIpAddress = NULL) {
op <- new_operation(
name = "AssociateAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_address_input(AllocationId = AllocationId, InstanceId = InstanceId, PublicIp = PublicIp, AllowReassociation = AllowReassociation, DryRun = DryRun, NetworkInterfaceId = NetworkInterfaceId, PrivateIpAddress = PrivateIpAddress)
output <- .ec2$associate_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_address <- ec2_associate_address
#' Associates a target network with a Client VPN endpoint
#'
#' @description
#' Associates a target network with a Client VPN endpoint. A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_client_vpn_target_network/](https://www.paws-r-sdk.com/docs/ec2_associate_client_vpn_target_network/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param SubnetId [required] The ID of the subnet to associate with the Client VPN endpoint.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_client_vpn_target_network
ec2_associate_client_vpn_target_network <- function(ClientVpnEndpointId, SubnetId, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "AssociateClientVpnTargetNetwork",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_client_vpn_target_network_input(ClientVpnEndpointId = ClientVpnEndpointId, SubnetId = SubnetId, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$associate_client_vpn_target_network_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_client_vpn_target_network <- ec2_associate_client_vpn_target_network
#' Associates a set of DHCP options (that you've previously created) with
#' the specified VPC, or associates no DHCP options with the VPC
#'
#' @description
#' Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_dhcp_options/](https://www.paws-r-sdk.com/docs/ec2_associate_dhcp_options/) for full documentation.
#'
#' @param DhcpOptionsId [required] The ID of the DHCP options set, or `default` to associate no DHCP
#' options with the VPC.
#' @param VpcId [required] The ID of the VPC.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_dhcp_options
ec2_associate_dhcp_options <- function(DhcpOptionsId, VpcId, DryRun = NULL) {
op <- new_operation(
name = "AssociateDhcpOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_dhcp_options_input(DhcpOptionsId = DhcpOptionsId, VpcId = VpcId, DryRun = DryRun)
output <- .ec2$associate_dhcp_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_dhcp_options <- ec2_associate_dhcp_options
#' Associates an Identity and Access Management (IAM) role with an
#' Certificate Manager (ACM) certificate
#'
#' @description
#' Associates an Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more information, see [Certificate Manager for Nitro Enclaves](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html) in the *Amazon Web Services Nitro Enclaves User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_enclave_certificate_iam_role/](https://www.paws-r-sdk.com/docs/ec2_associate_enclave_certificate_iam_role/) for full documentation.
#'
#' @param CertificateArn [required] The ARN of the ACM certificate with which to associate the IAM role.
#' @param RoleArn [required] The ARN of the IAM role to associate with the ACM certificate. You can
#' associate up to 16 IAM roles with an ACM certificate.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_enclave_certificate_iam_role
ec2_associate_enclave_certificate_iam_role <- function(CertificateArn, RoleArn, DryRun = NULL) {
op <- new_operation(
name = "AssociateEnclaveCertificateIamRole",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_enclave_certificate_iam_role_input(CertificateArn = CertificateArn, RoleArn = RoleArn, DryRun = DryRun)
output <- .ec2$associate_enclave_certificate_iam_role_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_enclave_certificate_iam_role <- ec2_associate_enclave_certificate_iam_role
#' Associates an IAM instance profile with a running or stopped instance
#'
#' @description
#' Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_iam_instance_profile/](https://www.paws-r-sdk.com/docs/ec2_associate_iam_instance_profile/) for full documentation.
#'
#' @param IamInstanceProfile [required] The IAM instance profile.
#' @param InstanceId [required] The ID of the instance.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_iam_instance_profile
ec2_associate_iam_instance_profile <- function(IamInstanceProfile, InstanceId) {
op <- new_operation(
name = "AssociateIamInstanceProfile",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_iam_instance_profile_input(IamInstanceProfile = IamInstanceProfile, InstanceId = InstanceId)
output <- .ec2$associate_iam_instance_profile_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_iam_instance_profile <- ec2_associate_iam_instance_profile
#' Associates one or more targets with an event window
#'
#' @description
#' Associates one or more targets with an event window. Only one type of target (instance IDs, Dedicated Host IDs, or tags) can be specified with an event window.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_instance_event_window/](https://www.paws-r-sdk.com/docs/ec2_associate_instance_event_window/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceEventWindowId [required] The ID of the event window.
#' @param AssociationTarget [required] One or more targets associated with the specified event window.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_instance_event_window
ec2_associate_instance_event_window <- function(DryRun = NULL, InstanceEventWindowId, AssociationTarget) {
op <- new_operation(
name = "AssociateInstanceEventWindow",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_instance_event_window_input(DryRun = DryRun, InstanceEventWindowId = InstanceEventWindowId, AssociationTarget = AssociationTarget)
output <- .ec2$associate_instance_event_window_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_instance_event_window <- ec2_associate_instance_event_window
#' Associates your Autonomous System Number (ASN) with a BYOIP CIDR that
#' you own in the same Amazon Web Services Region
#'
#' @description
#' Associates your Autonomous System Number (ASN) with a BYOIP CIDR that you own in the same Amazon Web Services Region. For more information, see [Tutorial: Bring your ASN to IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) in the *Amazon VPC IPAM guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_ipam_byoasn/](https://www.paws-r-sdk.com/docs/ec2_associate_ipam_byoasn/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Asn [required] A public 2-byte or 4-byte ASN.
#' @param Cidr [required] The BYOIP CIDR you want to associate with an ASN.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_ipam_byoasn
ec2_associate_ipam_byoasn <- function(DryRun = NULL, Asn, Cidr) {
op <- new_operation(
name = "AssociateIpamByoasn",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_ipam_byoasn_input(DryRun = DryRun, Asn = Asn, Cidr = Cidr)
output <- .ec2$associate_ipam_byoasn_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_ipam_byoasn <- ec2_associate_ipam_byoasn
#' Associates an IPAM resource discovery with an Amazon VPC IPAM
#'
#' @description
#' Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_ipam_resource_discovery/](https://www.paws-r-sdk.com/docs/ec2_associate_ipam_resource_discovery/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamId [required] An IPAM ID.
#' @param IpamResourceDiscoveryId [required] A resource discovery ID.
#' @param TagSpecifications Tag specifications.
#' @param ClientToken A client token.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_ipam_resource_discovery
ec2_associate_ipam_resource_discovery <- function(DryRun = NULL, IpamId, IpamResourceDiscoveryId, TagSpecifications = NULL, ClientToken = NULL) {
op <- new_operation(
name = "AssociateIpamResourceDiscovery",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_ipam_resource_discovery_input(DryRun = DryRun, IpamId = IpamId, IpamResourceDiscoveryId = IpamResourceDiscoveryId, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$associate_ipam_resource_discovery_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_ipam_resource_discovery <- ec2_associate_ipam_resource_discovery
#' Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a
#' public NAT gateway
#'
#' @description
#' Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see [Work with NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_nat_gateway_address/](https://www.paws-r-sdk.com/docs/ec2_associate_nat_gateway_address/) for full documentation.
#'
#' @param NatGatewayId [required] The ID of the NAT gateway.
#' @param AllocationIds [required] The allocation IDs of EIPs that you want to associate with your NAT
#' gateway.
#' @param PrivateIpAddresses The private IPv4 addresses that you want to assign to the NAT gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_nat_gateway_address
ec2_associate_nat_gateway_address <- function(NatGatewayId, AllocationIds, PrivateIpAddresses = NULL, DryRun = NULL) {
op <- new_operation(
name = "AssociateNatGatewayAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_nat_gateway_address_input(NatGatewayId = NatGatewayId, AllocationIds = AllocationIds, PrivateIpAddresses = PrivateIpAddresses, DryRun = DryRun)
output <- .ec2$associate_nat_gateway_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_nat_gateway_address <- ec2_associate_nat_gateway_address
#' Associates a subnet in your VPC or an internet gateway or virtual
#' private gateway attached to your VPC with a route table in your VPC
#'
#' @description
#' Associates a subnet in your VPC or an internet gateway or virtual private gateway attached to your VPC with a route table in your VPC. This association causes traffic from the subnet or gateway to be routed according to the routes in the route table. The action returns an association ID, which you need in order to disassociate the route table later. A route table can be associated with multiple subnets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_route_table/](https://www.paws-r-sdk.com/docs/ec2_associate_route_table/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RouteTableId [required] The ID of the route table.
#' @param SubnetId The ID of the subnet.
#' @param GatewayId The ID of the internet gateway or virtual private gateway.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_route_table
ec2_associate_route_table <- function(DryRun = NULL, RouteTableId, SubnetId = NULL, GatewayId = NULL) {
op <- new_operation(
name = "AssociateRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_route_table_input(DryRun = DryRun, RouteTableId = RouteTableId, SubnetId = SubnetId, GatewayId = GatewayId)
output <- .ec2$associate_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_route_table <- ec2_associate_route_table
#' Associates a CIDR block with your subnet
#'
#' @description
#' Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR block with your subnet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_subnet_cidr_block/](https://www.paws-r-sdk.com/docs/ec2_associate_subnet_cidr_block/) for full documentation.
#'
#' @param Ipv6CidrBlock The IPv6 CIDR block for your subnet.
#' @param SubnetId [required] The ID of your subnet.
#' @param Ipv6IpamPoolId An IPv6 IPAM pool ID.
#' @param Ipv6NetmaskLength An IPv6 netmask length.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_subnet_cidr_block
ec2_associate_subnet_cidr_block <- function(Ipv6CidrBlock = NULL, SubnetId, Ipv6IpamPoolId = NULL, Ipv6NetmaskLength = NULL) {
op <- new_operation(
name = "AssociateSubnetCidrBlock",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_subnet_cidr_block_input(Ipv6CidrBlock = Ipv6CidrBlock, SubnetId = SubnetId, Ipv6IpamPoolId = Ipv6IpamPoolId, Ipv6NetmaskLength = Ipv6NetmaskLength)
output <- .ec2$associate_subnet_cidr_block_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_subnet_cidr_block <- ec2_associate_subnet_cidr_block
#' Associates the specified subnets and transit gateway attachments with
#' the specified transit gateway multicast domain
#'
#' @description
#' Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_transit_gateway_multicast_domain/](https://www.paws-r-sdk.com/docs/ec2_associate_transit_gateway_multicast_domain/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param TransitGatewayAttachmentId [required] The ID of the transit gateway attachment to associate with the transit
#' gateway multicast domain.
#' @param SubnetIds [required] The IDs of the subnets to associate with the transit gateway multicast
#' domain.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_transit_gateway_multicast_domain
ec2_associate_transit_gateway_multicast_domain <- function(TransitGatewayMulticastDomainId, TransitGatewayAttachmentId, SubnetIds, DryRun = NULL) {
op <- new_operation(
name = "AssociateTransitGatewayMulticastDomain",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_transit_gateway_multicast_domain_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, SubnetIds = SubnetIds, DryRun = DryRun)
output <- .ec2$associate_transit_gateway_multicast_domain_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_transit_gateway_multicast_domain <- ec2_associate_transit_gateway_multicast_domain
#' Associates the specified transit gateway attachment with a transit
#' gateway policy table
#'
#' @description
#' Associates the specified transit gateway attachment with a transit gateway policy table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_transit_gateway_policy_table/](https://www.paws-r-sdk.com/docs/ec2_associate_transit_gateway_policy_table/) for full documentation.
#'
#' @param TransitGatewayPolicyTableId [required] The ID of the transit gateway policy table to associate with the transit
#' gateway attachment.
#' @param TransitGatewayAttachmentId [required] The ID of the transit gateway attachment to associate with the policy
#' table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_transit_gateway_policy_table
ec2_associate_transit_gateway_policy_table <- function(TransitGatewayPolicyTableId, TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "AssociateTransitGatewayPolicyTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_transit_gateway_policy_table_input(TransitGatewayPolicyTableId = TransitGatewayPolicyTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$associate_transit_gateway_policy_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_transit_gateway_policy_table <- ec2_associate_transit_gateway_policy_table
#' Associates the specified attachment with the specified transit gateway
#' route table
#'
#' @description
#' Associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_transit_gateway_route_table/](https://www.paws-r-sdk.com/docs/ec2_associate_transit_gateway_route_table/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_transit_gateway_route_table
ec2_associate_transit_gateway_route_table <- function(TransitGatewayRouteTableId, TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "AssociateTransitGatewayRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_transit_gateway_route_table_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$associate_transit_gateway_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_transit_gateway_route_table <- ec2_associate_transit_gateway_route_table
#' Associates a branch network interface with a trunk network interface
#'
#' @description
#' Associates a branch network interface with a trunk network interface.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_trunk_interface/](https://www.paws-r-sdk.com/docs/ec2_associate_trunk_interface/) for full documentation.
#'
#' @param BranchInterfaceId [required] The ID of the branch network interface.
#' @param TrunkInterfaceId [required] The ID of the trunk network interface.
#' @param VlanId The ID of the VLAN. This applies to the VLAN protocol.
#' @param GreKey The application key. This applies to the GRE protocol.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to Ensure
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_trunk_interface
ec2_associate_trunk_interface <- function(BranchInterfaceId, TrunkInterfaceId, VlanId = NULL, GreKey = NULL, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "AssociateTrunkInterface",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_trunk_interface_input(BranchInterfaceId = BranchInterfaceId, TrunkInterfaceId = TrunkInterfaceId, VlanId = VlanId, GreKey = GreKey, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$associate_trunk_interface_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_trunk_interface <- ec2_associate_trunk_interface
#' Associates a CIDR block with your VPC
#'
#' @description
#' Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR block from an IPv6 address pool that you provisioned through bring your own IP addresses ([BYOIP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html)).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_associate_vpc_cidr_block/](https://www.paws-r-sdk.com/docs/ec2_associate_vpc_cidr_block/) for full documentation.
#'
#' @param AmazonProvidedIpv6CidrBlock Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for
#' the VPC. You cannot specify the range of IPv6 addresses or the size of
#' the CIDR block.
#' @param CidrBlock An IPv4 CIDR block to associate with the VPC.
#' @param VpcId [required] The ID of the VPC.
#' @param Ipv6CidrBlockNetworkBorderGroup The name of the location from which we advertise the IPV6 CIDR block.
#' Use this parameter to limit the CIDR block to this location.
#'
#' You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
#' parameter.
#'
#' You can have one IPv6 CIDR block association per network border group.
#' @param Ipv6Pool The ID of an IPv6 address pool from which to allocate the IPv6 CIDR
#' block.
#' @param Ipv6CidrBlock An IPv6 CIDR block from the IPv6 address pool. You must also specify
#' `Ipv6Pool` in the request.
#'
#' To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
#' @param Ipv4IpamPoolId Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more
#' information about Amazon VPC IP Address Manager (IPAM), see [What is
#' IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/) in the *Amazon VPC
#' IPAM User Guide*.
#' @param Ipv4NetmaskLength The netmask length of the IPv4 CIDR you would like to associate from an
#' Amazon VPC IP Address Manager (IPAM) pool. For more information about
#' IPAM, see [What is IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/)
#' in the *Amazon VPC IPAM User Guide*.
#' @param Ipv6IpamPoolId Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more
#' information about Amazon VPC IP Address Manager (IPAM), see [What is
#' IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/) in the *Amazon VPC
#' IPAM User Guide*.
#' @param Ipv6NetmaskLength The netmask length of the IPv6 CIDR you would like to associate from an
#' Amazon VPC IP Address Manager (IPAM) pool. For more information about
#' IPAM, see [What is IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/)
#' in the *Amazon VPC IPAM User Guide*.
#'
#' @keywords internal
#'
#' @rdname ec2_associate_vpc_cidr_block
ec2_associate_vpc_cidr_block <- function(AmazonProvidedIpv6CidrBlock = NULL, CidrBlock = NULL, VpcId, Ipv6CidrBlockNetworkBorderGroup = NULL, Ipv6Pool = NULL, Ipv6CidrBlock = NULL, Ipv4IpamPoolId = NULL, Ipv4NetmaskLength = NULL, Ipv6IpamPoolId = NULL, Ipv6NetmaskLength = NULL) {
op <- new_operation(
name = "AssociateVpcCidrBlock",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$associate_vpc_cidr_block_input(AmazonProvidedIpv6CidrBlock = AmazonProvidedIpv6CidrBlock, CidrBlock = CidrBlock, VpcId = VpcId, Ipv6CidrBlockNetworkBorderGroup = Ipv6CidrBlockNetworkBorderGroup, Ipv6Pool = Ipv6Pool, Ipv6CidrBlock = Ipv6CidrBlock, Ipv4IpamPoolId = Ipv4IpamPoolId, Ipv4NetmaskLength = Ipv4NetmaskLength, Ipv6IpamPoolId = Ipv6IpamPoolId, Ipv6NetmaskLength = Ipv6NetmaskLength)
output <- .ec2$associate_vpc_cidr_block_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$associate_vpc_cidr_block <- ec2_associate_vpc_cidr_block
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_attach_classic_link_vpc/](https://www.paws-r-sdk.com/docs/ec2_attach_classic_link_vpc/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Groups [required] The IDs of the security groups. You cannot specify security groups from
#' a different VPC.
#' @param InstanceId [required] The ID of the EC2-Classic instance.
#' @param VpcId [required] The ID of the ClassicLink-enabled VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_attach_classic_link_vpc
ec2_attach_classic_link_vpc <- function(DryRun = NULL, Groups, InstanceId, VpcId) {
op <- new_operation(
name = "AttachClassicLinkVpc",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$attach_classic_link_vpc_input(DryRun = DryRun, Groups = Groups, InstanceId = InstanceId, VpcId = VpcId)
output <- .ec2$attach_classic_link_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$attach_classic_link_vpc <- ec2_attach_classic_link_vpc
#' Attaches an internet gateway or a virtual private gateway to a VPC,
#' enabling connectivity between the internet and the VPC
#'
#' @description
#' Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity between the internet and the VPC. For more information, see [Internet gateways](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_attach_internet_gateway/](https://www.paws-r-sdk.com/docs/ec2_attach_internet_gateway/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InternetGatewayId [required] The ID of the internet gateway.
#' @param VpcId [required] The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_attach_internet_gateway
ec2_attach_internet_gateway <- function(DryRun = NULL, InternetGatewayId, VpcId) {
op <- new_operation(
name = "AttachInternetGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$attach_internet_gateway_input(DryRun = DryRun, InternetGatewayId = InternetGatewayId, VpcId = VpcId)
output <- .ec2$attach_internet_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$attach_internet_gateway <- ec2_attach_internet_gateway
#' Attaches a network interface to an instance
#'
#' @description
#' Attaches a network interface to an instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_attach_network_interface/](https://www.paws-r-sdk.com/docs/ec2_attach_network_interface/) for full documentation.
#'
#' @param DeviceIndex [required] The index of the device for the network interface attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#' @param NetworkCardIndex The index of the network card. Some instance types support multiple
#' network cards. The primary network interface must be assigned to network
#' card index 0. The default is network card index 0.
#' @param EnaSrdSpecification Configures ENA Express for the network interface that this action
#' attaches to the instance.
#'
#' @keywords internal
#'
#' @rdname ec2_attach_network_interface
ec2_attach_network_interface <- function(DeviceIndex, DryRun = NULL, InstanceId, NetworkInterfaceId, NetworkCardIndex = NULL, EnaSrdSpecification = NULL) {
op <- new_operation(
name = "AttachNetworkInterface",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$attach_network_interface_input(DeviceIndex = DeviceIndex, DryRun = DryRun, InstanceId = InstanceId, NetworkInterfaceId = NetworkInterfaceId, NetworkCardIndex = NetworkCardIndex, EnaSrdSpecification = EnaSrdSpecification)
output <- .ec2$attach_network_interface_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$attach_network_interface <- ec2_attach_network_interface
#' Attaches the specified Amazon Web Services Verified Access trust
#' provider to the specified Amazon Web Services Verified Access instance
#'
#' @description
#' Attaches the specified Amazon Web Services Verified Access trust provider to the specified Amazon Web Services Verified Access instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_attach_verified_access_trust_provider/](https://www.paws-r-sdk.com/docs/ec2_attach_verified_access_trust_provider/) for full documentation.
#'
#' @param VerifiedAccessInstanceId [required] The ID of the Verified Access instance.
#' @param VerifiedAccessTrustProviderId [required] The ID of the Verified Access trust provider.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_attach_verified_access_trust_provider
ec2_attach_verified_access_trust_provider <- function(VerifiedAccessInstanceId, VerifiedAccessTrustProviderId, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "AttachVerifiedAccessTrustProvider",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$attach_verified_access_trust_provider_input(VerifiedAccessInstanceId = VerifiedAccessInstanceId, VerifiedAccessTrustProviderId = VerifiedAccessTrustProviderId, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$attach_verified_access_trust_provider_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$attach_verified_access_trust_provider <- ec2_attach_verified_access_trust_provider
#' Attaches an EBS volume to a running or stopped instance and exposes it
#' to the instance with the specified device name
#'
#' @description
#' Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_attach_volume/](https://www.paws-r-sdk.com/docs/ec2_attach_volume/) for full documentation.
#'
#' @param Device [required] The device name (for example, `/dev/sdh` or `xvdh`).
#' @param InstanceId [required] The ID of the instance.
#' @param VolumeId [required] The ID of the EBS volume. The volume and instance must be within the
#' same Availability Zone.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_attach_volume
ec2_attach_volume <- function(Device, InstanceId, VolumeId, DryRun = NULL) {
op <- new_operation(
name = "AttachVolume",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$attach_volume_input(Device = Device, InstanceId = InstanceId, VolumeId = VolumeId, DryRun = DryRun)
output <- .ec2$attach_volume_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$attach_volume <- ec2_attach_volume
#' Attaches a virtual private gateway to a VPC
#'
#' @description
#' Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_attach_vpn_gateway/](https://www.paws-r-sdk.com/docs/ec2_attach_vpn_gateway/) for full documentation.
#'
#' @param VpcId [required] The ID of the VPC.
#' @param VpnGatewayId [required] The ID of the virtual private gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_attach_vpn_gateway
ec2_attach_vpn_gateway <- function(VpcId, VpnGatewayId, DryRun = NULL) {
op <- new_operation(
name = "AttachVpnGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$attach_vpn_gateway_input(VpcId = VpcId, VpnGatewayId = VpnGatewayId, DryRun = DryRun)
output <- .ec2$attach_vpn_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$attach_vpn_gateway <- ec2_attach_vpn_gateway
#' Adds an ingress authorization rule to a Client VPN endpoint
#'
#' @description
#' Adds an ingress authorization rule to a Client VPN endpoint. Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in Amazon Web Services or on-premises networks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_authorize_client_vpn_ingress/](https://www.paws-r-sdk.com/docs/ec2_authorize_client_vpn_ingress/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param TargetNetworkCidr [required] The IPv4 address range, in CIDR notation, of the network for which
#' access is being authorized.
#' @param AccessGroupId The ID of the group to grant access to, for example, the Active
#' Directory group or identity provider (IdP) group. Required if
#' `AuthorizeAllGroups` is `false` or not specified.
#' @param AuthorizeAllGroups Indicates whether to grant access to all clients. Specify `true` to
#' grant all clients who successfully establish a VPN connection access to
#' the network. Must be set to `true` if `AccessGroupId` is not specified.
#' @param Description A brief description of the authorization rule.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_authorize_client_vpn_ingress
ec2_authorize_client_vpn_ingress <- function(ClientVpnEndpointId, TargetNetworkCidr, AccessGroupId = NULL, AuthorizeAllGroups = NULL, Description = NULL, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "AuthorizeClientVpnIngress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$authorize_client_vpn_ingress_input(ClientVpnEndpointId = ClientVpnEndpointId, TargetNetworkCidr = TargetNetworkCidr, AccessGroupId = AccessGroupId, AuthorizeAllGroups = AuthorizeAllGroups, Description = Description, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$authorize_client_vpn_ingress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$authorize_client_vpn_ingress <- ec2_authorize_client_vpn_ingress
#' Adds the specified outbound (egress) rules to a security group
#'
#' @description
#' Adds the specified outbound (egress) rules to a security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_authorize_security_group_egress/](https://www.paws-r-sdk.com/docs/ec2_authorize_security_group_egress/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupId [required] The ID of the security group.
#' @param IpPermissions The permissions for the security group rules.
#' @param TagSpecifications The tags applied to the security group rule.
#' @param CidrIp Not supported. Use IP permissions instead.
#' @param FromPort Not supported. Use IP permissions instead.
#' @param IpProtocol Not supported. Use IP permissions instead.
#' @param ToPort Not supported. Use IP permissions instead.
#' @param SourceSecurityGroupName Not supported. Use IP permissions instead.
#' @param SourceSecurityGroupOwnerId Not supported. Use IP permissions instead.
#'
#' @keywords internal
#'
#' @rdname ec2_authorize_security_group_egress
ec2_authorize_security_group_egress <- function(DryRun = NULL, GroupId, IpPermissions = NULL, TagSpecifications = NULL, CidrIp = NULL, FromPort = NULL, IpProtocol = NULL, ToPort = NULL, SourceSecurityGroupName = NULL, SourceSecurityGroupOwnerId = NULL) {
op <- new_operation(
name = "AuthorizeSecurityGroupEgress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$authorize_security_group_egress_input(DryRun = DryRun, GroupId = GroupId, IpPermissions = IpPermissions, TagSpecifications = TagSpecifications, CidrIp = CidrIp, FromPort = FromPort, IpProtocol = IpProtocol, ToPort = ToPort, SourceSecurityGroupName = SourceSecurityGroupName, SourceSecurityGroupOwnerId = SourceSecurityGroupOwnerId)
output <- .ec2$authorize_security_group_egress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$authorize_security_group_egress <- ec2_authorize_security_group_egress
#' Adds the specified inbound (ingress) rules to a security group
#'
#' @description
#' Adds the specified inbound (ingress) rules to a security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_authorize_security_group_ingress/](https://www.paws-r-sdk.com/docs/ec2_authorize_security_group_ingress/) for full documentation.
#'
#' @param CidrIp The IPv4 address range, in CIDR format.
#'
#' To specify an IPv6 address range, use IP permissions instead.
#'
#' To specify multiple rules and descriptions for the rules, use IP
#' permissions instead.
#' @param FromPort If the protocol is TCP or UDP, this is the start of the port range. If
#' the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
#'
#' To specify multiple rules and descriptions for the rules, use IP
#' permissions instead.
#' @param GroupId The ID of the security group.
#' @param GroupName \[Default VPC\] The name of the security group. For security groups for
#' a default VPC you can specify either the ID or the name of the security
#' group. For security groups for a nondefault VPC, you must specify the ID
#' of the security group.
#' @param IpPermissions The permissions for the security group rules.
#' @param IpProtocol The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
#' Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
#' To specify all protocols, use `-1`.
#'
#' To specify `icmpv6`, use IP permissions instead.
#'
#' If you specify a protocol other than one of the supported values,
#' traffic is allowed on all ports, regardless of any ports that you
#' specify.
#'
#' To specify multiple rules and descriptions for the rules, use IP
#' permissions instead.
#' @param SourceSecurityGroupName \[Default VPC\] The name of the source security group.
#'
#' The rule grants full ICMP, UDP, and TCP access. To create a rule with a
#' specific protocol and port range, specify a set of IP permissions
#' instead.
#' @param SourceSecurityGroupOwnerId The Amazon Web Services account ID for the source security group, if the
#' source security group is in a different account.
#'
#' The rule grants full ICMP, UDP, and TCP access. To create a rule with a
#' specific protocol and port range, use IP permissions instead.
#' @param ToPort If the protocol is TCP or UDP, this is the end of the port range. If the
#' protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If the
#' start port is -1 (all ICMP types), then the end port must be -1 (all
#' ICMP codes).
#'
#' To specify multiple rules and descriptions for the rules, use IP
#' permissions instead.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags applied to the security group rule.
#'
#' @keywords internal
#'
#' @rdname ec2_authorize_security_group_ingress
ec2_authorize_security_group_ingress <- function(CidrIp = NULL, FromPort = NULL, GroupId = NULL, GroupName = NULL, IpPermissions = NULL, IpProtocol = NULL, SourceSecurityGroupName = NULL, SourceSecurityGroupOwnerId = NULL, ToPort = NULL, DryRun = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "AuthorizeSecurityGroupIngress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$authorize_security_group_ingress_input(CidrIp = CidrIp, FromPort = FromPort, GroupId = GroupId, GroupName = GroupName, IpPermissions = IpPermissions, IpProtocol = IpProtocol, SourceSecurityGroupName = SourceSecurityGroupName, SourceSecurityGroupOwnerId = SourceSecurityGroupOwnerId, ToPort = ToPort, DryRun = DryRun, TagSpecifications = TagSpecifications)
output <- .ec2$authorize_security_group_ingress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$authorize_security_group_ingress <- ec2_authorize_security_group_ingress
#' Bundles an Amazon instance store-backed Windows instance
#'
#' @description
#' Bundles an Amazon instance store-backed Windows instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_bundle_instance/](https://www.paws-r-sdk.com/docs/ec2_bundle_instance/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance to bundle.
#'
#' Default: None
#' @param Storage [required] The bucket in which to store the AMI. You can specify a bucket that you
#' already own or a new bucket that Amazon EC2 creates on your behalf. If
#' you specify a bucket that belongs to someone else, Amazon EC2 returns an
#' error.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_bundle_instance
ec2_bundle_instance <- function(InstanceId, Storage, DryRun = NULL) {
op <- new_operation(
name = "BundleInstance",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$bundle_instance_input(InstanceId = InstanceId, Storage = Storage, DryRun = DryRun)
output <- .ec2$bundle_instance_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$bundle_instance <- ec2_bundle_instance
#' Cancels a bundling operation for an instance store-backed Windows
#' instance
#'
#' @description
#' Cancels a bundling operation for an instance store-backed Windows instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_bundle_task/](https://www.paws-r-sdk.com/docs/ec2_cancel_bundle_task/) for full documentation.
#'
#' @param BundleId [required] The ID of the bundle task.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_bundle_task
ec2_cancel_bundle_task <- function(BundleId, DryRun = NULL) {
op <- new_operation(
name = "CancelBundleTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_bundle_task_input(BundleId = BundleId, DryRun = DryRun)
output <- .ec2$cancel_bundle_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_bundle_task <- ec2_cancel_bundle_task
#' Cancels the specified Capacity Reservation, releases the reserved
#' capacity, and changes the Capacity Reservation's state to cancelled
#'
#' @description
#' Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to `cancelled`.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_capacity_reservation/](https://www.paws-r-sdk.com/docs/ec2_cancel_capacity_reservation/) for full documentation.
#'
#' @param CapacityReservationId [required] The ID of the Capacity Reservation to be cancelled.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_capacity_reservation
ec2_cancel_capacity_reservation <- function(CapacityReservationId, DryRun = NULL) {
op <- new_operation(
name = "CancelCapacityReservation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_capacity_reservation_input(CapacityReservationId = CapacityReservationId, DryRun = DryRun)
output <- .ec2$cancel_capacity_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_capacity_reservation <- ec2_cancel_capacity_reservation
#' Cancels one or more Capacity Reservation Fleets
#'
#' @description
#' Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation Fleet, the following happens:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_capacity_reservation_fleets/](https://www.paws-r-sdk.com/docs/ec2_cancel_capacity_reservation_fleets/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param CapacityReservationFleetIds [required] The IDs of the Capacity Reservation Fleets to cancel.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_capacity_reservation_fleets
ec2_cancel_capacity_reservation_fleets <- function(DryRun = NULL, CapacityReservationFleetIds) {
op <- new_operation(
name = "CancelCapacityReservationFleets",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_capacity_reservation_fleets_input(DryRun = DryRun, CapacityReservationFleetIds = CapacityReservationFleetIds)
output <- .ec2$cancel_capacity_reservation_fleets_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_capacity_reservation_fleets <- ec2_cancel_capacity_reservation_fleets
#' Cancels an active conversion task
#'
#' @description
#' Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_conversion_task/](https://www.paws-r-sdk.com/docs/ec2_cancel_conversion_task/) for full documentation.
#'
#' @param ConversionTaskId [required] The ID of the conversion task.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ReasonMessage The reason for canceling the conversion task.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_conversion_task
ec2_cancel_conversion_task <- function(ConversionTaskId, DryRun = NULL, ReasonMessage = NULL) {
op <- new_operation(
name = "CancelConversionTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_conversion_task_input(ConversionTaskId = ConversionTaskId, DryRun = DryRun, ReasonMessage = ReasonMessage)
output <- .ec2$cancel_conversion_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_conversion_task <- ec2_cancel_conversion_task
#' Cancels an active export task
#'
#' @description
#' Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_export_task/](https://www.paws-r-sdk.com/docs/ec2_cancel_export_task/) for full documentation.
#'
#' @param ExportTaskId [required] The ID of the export task. This is the ID returned by the
#' [`create_instance_export_task`][ec2_create_instance_export_task] and
#' [`export_image`][ec2_export_image] operations.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_export_task
ec2_cancel_export_task <- function(ExportTaskId) {
op <- new_operation(
name = "CancelExportTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_export_task_input(ExportTaskId = ExportTaskId)
output <- .ec2$cancel_export_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_export_task <- ec2_cancel_export_task
#' Removes your Amazon Web Services account from the launch permissions for
#' the specified AMI
#'
#' @description
#' Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more information, see [Cancel having an AMI shared with your Amazon Web Services account](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cancel-sharing-an-AMI.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_image_launch_permission/](https://www.paws-r-sdk.com/docs/ec2_cancel_image_launch_permission/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI that was shared with your Amazon Web Services account.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_image_launch_permission
ec2_cancel_image_launch_permission <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "CancelImageLaunchPermission",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_image_launch_permission_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$cancel_image_launch_permission_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_image_launch_permission <- ec2_cancel_image_launch_permission
#' Cancels an in-process import virtual machine or import snapshot task
#'
#' @description
#' Cancels an in-process import virtual machine or import snapshot task.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_import_task/](https://www.paws-r-sdk.com/docs/ec2_cancel_import_task/) for full documentation.
#'
#' @param CancelReason The reason for canceling the task.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ImportTaskId The ID of the import image or import snapshot task to be canceled.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_import_task
ec2_cancel_import_task <- function(CancelReason = NULL, DryRun = NULL, ImportTaskId = NULL) {
op <- new_operation(
name = "CancelImportTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_import_task_input(CancelReason = CancelReason, DryRun = DryRun, ImportTaskId = ImportTaskId)
output <- .ec2$cancel_import_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_import_task <- ec2_cancel_import_task
#' Cancels the specified Reserved Instance listing in the Reserved Instance
#' Marketplace
#'
#' @description
#' Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_reserved_instances_listing/](https://www.paws-r-sdk.com/docs/ec2_cancel_reserved_instances_listing/) for full documentation.
#'
#' @param ReservedInstancesListingId [required] The ID of the Reserved Instance listing.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_reserved_instances_listing
ec2_cancel_reserved_instances_listing <- function(ReservedInstancesListingId) {
op <- new_operation(
name = "CancelReservedInstancesListing",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_reserved_instances_listing_input(ReservedInstancesListingId = ReservedInstancesListingId)
output <- .ec2$cancel_reserved_instances_listing_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_reserved_instances_listing <- ec2_cancel_reserved_instances_listing
#' Cancels the specified Spot Fleet requests
#'
#' @description
#' Cancels the specified Spot Fleet requests.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_spot_fleet_requests/](https://www.paws-r-sdk.com/docs/ec2_cancel_spot_fleet_requests/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SpotFleetRequestIds [required] The IDs of the Spot Fleet requests.
#'
#' Constraint: You can specify up to 100 IDs in a single request.
#' @param TerminateInstances [required] Indicates whether to terminate the associated instances when the Spot
#' Fleet request is canceled. The default is to terminate the instances.
#'
#' To let the instances continue to run after the Spot Fleet request is
#' canceled, specify `no-terminate-instances`.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_spot_fleet_requests
ec2_cancel_spot_fleet_requests <- function(DryRun = NULL, SpotFleetRequestIds, TerminateInstances) {
op <- new_operation(
name = "CancelSpotFleetRequests",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_spot_fleet_requests_input(DryRun = DryRun, SpotFleetRequestIds = SpotFleetRequestIds, TerminateInstances = TerminateInstances)
output <- .ec2$cancel_spot_fleet_requests_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_spot_fleet_requests <- ec2_cancel_spot_fleet_requests
#' Cancels one or more Spot Instance requests
#'
#' @description
#' Cancels one or more Spot Instance requests.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_cancel_spot_instance_requests/](https://www.paws-r-sdk.com/docs/ec2_cancel_spot_instance_requests/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SpotInstanceRequestIds [required] The IDs of the Spot Instance requests.
#'
#' @keywords internal
#'
#' @rdname ec2_cancel_spot_instance_requests
ec2_cancel_spot_instance_requests <- function(DryRun = NULL, SpotInstanceRequestIds) {
op <- new_operation(
name = "CancelSpotInstanceRequests",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$cancel_spot_instance_requests_input(DryRun = DryRun, SpotInstanceRequestIds = SpotInstanceRequestIds)
output <- .ec2$cancel_spot_instance_requests_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$cancel_spot_instance_requests <- ec2_cancel_spot_instance_requests
#' Determines whether a product code is associated with an instance
#'
#' @description
#' Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner must verify whether another user's instance is eligible for support.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_confirm_product_instance/](https://www.paws-r-sdk.com/docs/ec2_confirm_product_instance/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance.
#' @param ProductCode [required] The product code. This must be a product code that you own.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_confirm_product_instance
ec2_confirm_product_instance <- function(InstanceId, ProductCode, DryRun = NULL) {
op <- new_operation(
name = "ConfirmProductInstance",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$confirm_product_instance_input(InstanceId = InstanceId, ProductCode = ProductCode, DryRun = DryRun)
output <- .ec2$confirm_product_instance_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$confirm_product_instance <- ec2_confirm_product_instance
#' Copies the specified Amazon FPGA Image (AFI) to the current Region
#'
#' @description
#' Copies the specified Amazon FPGA Image (AFI) to the current Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_copy_fpga_image/](https://www.paws-r-sdk.com/docs/ec2_copy_fpga_image/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SourceFpgaImageId [required] The ID of the source AFI.
#' @param Description The description for the new AFI.
#' @param Name The name for the new AFI. The default is the name of the source AFI.
#' @param SourceRegion [required] The Region that contains the source AFI.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_copy_fpga_image
ec2_copy_fpga_image <- function(DryRun = NULL, SourceFpgaImageId, Description = NULL, Name = NULL, SourceRegion, ClientToken = NULL) {
op <- new_operation(
name = "CopyFpgaImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$copy_fpga_image_input(DryRun = DryRun, SourceFpgaImageId = SourceFpgaImageId, Description = Description, Name = Name, SourceRegion = SourceRegion, ClientToken = ClientToken)
output <- .ec2$copy_fpga_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$copy_fpga_image <- ec2_copy_fpga_image
#' Initiates the copy of an AMI
#'
#' @description
#' Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost to another, or within the same Outpost. To copy an AMI to another partition, see [`create_store_image_task`][ec2_create_store_image_task].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_copy_image/](https://www.paws-r-sdk.com/docs/ec2_copy_image/) for full documentation.
#'
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure idempotency of
#' the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html)
#' in the *Amazon EC2 API Reference*.
#' @param Description A description for the new AMI in the destination Region.
#' @param Encrypted Specifies whether the destination snapshots of the copied image should
#' be encrypted. You can encrypt a copy of an unencrypted snapshot, but you
#' cannot create an unencrypted copy of an encrypted snapshot. The default
#' KMS key for Amazon EBS is used unless you specify a non-default Key
#' Management Service (KMS) KMS key using `KmsKeyId`. For more information,
#' see [Amazon EBS
#' encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html)
#' in the *Amazon EBS User Guide*.
#' @param KmsKeyId The identifier of the symmetric Key Management Service (KMS) KMS key to
#' use when creating encrypted volumes. If this parameter is not specified,
#' your Amazon Web Services managed KMS key for Amazon EBS is used. If you
#' specify a KMS key, you must also set the encrypted state to `true`.
#'
#' You can specify a KMS key using any of the following:
#'
#' - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Key alias. For example, alias/ExampleAlias.
#'
#' - Key ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Alias ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
#'
#' Amazon Web Services authenticates the KMS key asynchronously. Therefore,
#' if you specify an identifier that is not valid, the action can appear to
#' complete, but eventually fails.
#'
#' The specified KMS key must exist in the destination Region.
#'
#' Amazon EBS does not support asymmetric KMS keys.
#' @param Name [required] The name of the new AMI in the destination Region.
#' @param SourceImageId [required] The ID of the AMI to copy.
#' @param SourceRegion [required] The name of the Region that contains the AMI to copy.
#' @param DestinationOutpostArn The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI.
#' Only specify this parameter when copying an AMI from an Amazon Web
#' Services Region to an Outpost. The AMI must be in the Region of the
#' destination Outpost. You cannot copy an AMI from an Outpost to a Region,
#' from one Outpost to another, or within the same Outpost.
#'
#' For more information, see [Copy AMIs from an Amazon Web Services Region
#' to an
#' Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis)
#' in the *Amazon EBS User Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param CopyImageTags Indicates whether to include your user-defined AMI tags when copying the
#' AMI.
#'
#' The following tags will not be copied:
#'
#' - System tags (prefixed with `aws:`)
#'
#' - For public and shared AMIs, user-defined tags that are attached by
#' other Amazon Web Services accounts
#'
#' Default: Your user-defined AMI tags are not copied.
#' @param TagSpecifications The tags to apply to the new AMI and new snapshots. You can tag the AMI,
#' the snapshots, or both.
#'
#' - To tag the new AMI, the value for `ResourceType` must be `image`.
#'
#' - To tag the new snapshots, the value for `ResourceType` must be
#' `snapshot`. The same tag is applied to all the new snapshots.
#'
#' If you specify other values for `ResourceType`, the request fails.
#'
#' To tag an AMI or snapshot after it has been created, see
#' [`create_tags`][ec2_create_tags].
#'
#' @keywords internal
#'
#' @rdname ec2_copy_image
ec2_copy_image <- function(ClientToken = NULL, Description = NULL, Encrypted = NULL, KmsKeyId = NULL, Name, SourceImageId, SourceRegion, DestinationOutpostArn = NULL, DryRun = NULL, CopyImageTags = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CopyImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$copy_image_input(ClientToken = ClientToken, Description = Description, Encrypted = Encrypted, KmsKeyId = KmsKeyId, Name = Name, SourceImageId = SourceImageId, SourceRegion = SourceRegion, DestinationOutpostArn = DestinationOutpostArn, DryRun = DryRun, CopyImageTags = CopyImageTags, TagSpecifications = TagSpecifications)
output <- .ec2$copy_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$copy_image <- ec2_copy_image
#' Copies a point-in-time snapshot of an EBS volume and stores it in Amazon
#' S3
#'
#' @description
#' Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a snapshot within the same Region, from one Region to another, or from a Region to an Outpost. You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_copy_snapshot/](https://www.paws-r-sdk.com/docs/ec2_copy_snapshot/) for full documentation.
#'
#' @param Description A description for the EBS snapshot.
#' @param DestinationOutpostArn The Amazon Resource Name (ARN) of the Outpost to which to copy the
#' snapshot. Only specify this parameter when copying a snapshot from an
#' Amazon Web Services Region to an Outpost. The snapshot must be in the
#' Region for the destination Outpost. You cannot copy a snapshot from an
#' Outpost to a Region, from one Outpost to another, or within the same
#' Outpost.
#'
#' For more information, see [Copy snapshots from an Amazon Web Services
#' Region to an
#' Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-snapshots)
#' in the *Amazon EBS User Guide*.
#' @param DestinationRegion The destination Region to use in the `PresignedUrl` parameter of a
#' snapshot copy operation. This parameter is only valid for specifying the
#' destination Region in a `PresignedUrl` parameter, where it is required.
#'
#' The snapshot copy is sent to the regional endpoint that you sent the
#' HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
#' CLI, this is specified using the `--region` parameter or the default
#' Region in your Amazon Web Services configuration file.
#' @param Encrypted To encrypt a copy of an unencrypted snapshot if encryption by default is
#' not enabled, enable encryption using this parameter. Otherwise, omit
#' this parameter. Encrypted snapshots are encrypted, even if you omit this
#' parameter and encryption by default is not enabled. You cannot set this
#' parameter to false. For more information, see [Amazon EBS
#' encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html)
#' in the *Amazon EBS User Guide*.
#' @param KmsKeyId The identifier of the Key Management Service (KMS) KMS key to use for
#' Amazon EBS encryption. If this parameter is not specified, your KMS key
#' for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted state
#' must be `true`.
#'
#' You can specify the KMS key using any of the following:
#'
#' - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Key alias. For example, alias/ExampleAlias.
#'
#' - Key ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Alias ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
#'
#' Amazon Web Services authenticates the KMS key asynchronously. Therefore,
#' if you specify an ID, alias, or ARN that is not valid, the action can
#' appear to complete, but eventually fails.
#' @param PresignedUrl When you copy an encrypted source snapshot using the Amazon EC2 Query
#' API, you must supply a pre-signed URL. This parameter is optional for
#' unencrypted snapshots. For more information, see [Query
#' requests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html).
#'
#' The `PresignedUrl` should use the snapshot source endpoint, the
#' [`copy_snapshot`][ec2_copy_snapshot] action, and include the
#' `SourceRegion`, `SourceSnapshotId`, and `DestinationRegion` parameters.
#' The `PresignedUrl` must be signed using Amazon Web Services Signature
#' Version 4. Because EBS snapshots are stored in Amazon S3, the signing
#' algorithm for this parameter uses the same logic that is described in
#' [Authenticating Requests: Using Query Parameters (Amazon Web Services
#' Signature Version
#' 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html)
#' in the *Amazon Simple Storage Service API Reference*. An invalid or
#' improperly signed `PresignedUrl` will cause the copy operation to fail
#' asynchronously, and the snapshot will move to an `error` state.
#' @param SourceRegion [required] The ID of the Region that contains the snapshot to be copied.
#' @param SourceSnapshotId [required] The ID of the EBS snapshot to copy.
#' @param TagSpecifications The tags to apply to the new snapshot.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_copy_snapshot
ec2_copy_snapshot <- function(Description = NULL, DestinationOutpostArn = NULL, DestinationRegion = NULL, Encrypted = NULL, KmsKeyId = NULL, PresignedUrl = NULL, SourceRegion, SourceSnapshotId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CopySnapshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$copy_snapshot_input(Description = Description, DestinationOutpostArn = DestinationOutpostArn, DestinationRegion = DestinationRegion, Encrypted = Encrypted, KmsKeyId = KmsKeyId, PresignedUrl = PresignedUrl, SourceRegion = SourceRegion, SourceSnapshotId = SourceSnapshotId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$copy_snapshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$copy_snapshot <- ec2_copy_snapshot
#' Creates a new Capacity Reservation with the specified attributes
#'
#' @description
#' Creates a new Capacity Reservation with the specified attributes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_capacity_reservation/](https://www.paws-r-sdk.com/docs/ec2_create_capacity_reservation/) for full documentation.
#'
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensure
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param InstanceType [required] The instance type for which to reserve capacity. For more information,
#' see [Instance
#' types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
#' in the *Amazon EC2 User Guide*.
#' @param InstancePlatform [required] The type of operating system for which to reserve capacity.
#' @param AvailabilityZone The Availability Zone in which to create the Capacity Reservation.
#' @param AvailabilityZoneId The ID of the Availability Zone in which to create the Capacity
#' Reservation.
#' @param Tenancy Indicates the tenancy of the Capacity Reservation. A Capacity
#' Reservation can have one of the following tenancy settings:
#'
#' - `default` - The Capacity Reservation is created on hardware that is
#' shared with other Amazon Web Services accounts.
#'
#' - `dedicated` - The Capacity Reservation is created on single-tenant
#' hardware that is dedicated to a single Amazon Web Services account.
#' @param InstanceCount [required] The number of instances for which to reserve capacity.
#'
#' Valid range: 1 - 1000
#' @param EbsOptimized Indicates whether the Capacity Reservation supports EBS-optimized
#' instances. This optimization provides dedicated throughput to Amazon EBS
#' and an optimized configuration stack to provide optimal I/O performance.
#' This optimization isn't available with all instance types. Additional
#' usage charges apply when using an EBS- optimized instance.
#' @param EphemeralStorage *Deprecated.*
#' @param EndDate The date and time at which the Capacity Reservation expires. When a
#' Capacity Reservation expires, the reserved capacity is released and you
#' can no longer launch instances into it. The Capacity Reservation's state
#' changes to `expired` when it reaches its end date and time.
#'
#' You must provide an `EndDate` value if `EndDateType` is `limited`. Omit
#' `EndDate` if `EndDateType` is `unlimited`.
#'
#' If the `EndDateType` is `limited`, the Capacity Reservation is cancelled
#' within an hour from the specified time. For example, if you specify
#' 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end
#' between 13:30:55 and 14:30:55 on 5/31/2019.
#' @param EndDateType Indicates the way in which the Capacity Reservation ends. A Capacity
#' Reservation can have one of the following end types:
#'
#' - `unlimited` - The Capacity Reservation remains active until you
#' explicitly cancel it. Do not provide an `EndDate` if the
#' `EndDateType` is `unlimited`.
#'
#' - `limited` - The Capacity Reservation expires automatically at a
#' specified date and time. You must provide an `EndDate` value if the
#' `EndDateType` value is `limited`.
#' @param InstanceMatchCriteria Indicates the type of instance launches that the Capacity Reservation
#' accepts. The options include:
#'
#' - `open` - The Capacity Reservation automatically matches all
#' instances that have matching attributes (instance type, platform,
#' and Availability Zone). Instances that have matching attributes run
#' in the Capacity Reservation automatically without specifying any
#' additional parameters.
#'
#' - `targeted` - The Capacity Reservation only accepts instances that
#' have matching attributes (instance type, platform, and Availability
#' Zone), and explicitly target the Capacity Reservation. This ensures
#' that only permitted instances can use the reserved capacity.
#'
#' Default: `open`
#' @param TagSpecifications The tags to apply to the Capacity Reservation during launch.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param OutpostArn The Amazon Resource Name (ARN) of the Outpost on which to create the
#' Capacity Reservation.
#' @param PlacementGroupArn The Amazon Resource Name (ARN) of the cluster placement group in which
#' to create the Capacity Reservation. For more information, see [Capacity
#' Reservations for cluster placement
#' groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html)
#' in the *Amazon EC2 User Guide*.
#'
#' @keywords internal
#'
#' @rdname ec2_create_capacity_reservation
ec2_create_capacity_reservation <- function(ClientToken = NULL, InstanceType, InstancePlatform, AvailabilityZone = NULL, AvailabilityZoneId = NULL, Tenancy = NULL, InstanceCount, EbsOptimized = NULL, EphemeralStorage = NULL, EndDate = NULL, EndDateType = NULL, InstanceMatchCriteria = NULL, TagSpecifications = NULL, DryRun = NULL, OutpostArn = NULL, PlacementGroupArn = NULL) {
op <- new_operation(
name = "CreateCapacityReservation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_capacity_reservation_input(ClientToken = ClientToken, InstanceType = InstanceType, InstancePlatform = InstancePlatform, AvailabilityZone = AvailabilityZone, AvailabilityZoneId = AvailabilityZoneId, Tenancy = Tenancy, InstanceCount = InstanceCount, EbsOptimized = EbsOptimized, EphemeralStorage = EphemeralStorage, EndDate = EndDate, EndDateType = EndDateType, InstanceMatchCriteria = InstanceMatchCriteria, TagSpecifications = TagSpecifications, DryRun = DryRun, OutpostArn = OutpostArn, PlacementGroupArn = PlacementGroupArn)
output <- .ec2$create_capacity_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_capacity_reservation <- ec2_create_capacity_reservation
#' Creates a Capacity Reservation Fleet
#'
#' @description
#' Creates a Capacity Reservation Fleet. For more information, see [Create a Capacity Reservation Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-cr-fleets.html#create-crfleet) in the Amazon EC2 User Guide.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_capacity_reservation_fleet/](https://www.paws-r-sdk.com/docs/ec2_create_capacity_reservation_fleet/) for full documentation.
#'
#' @param AllocationStrategy The strategy used by the Capacity Reservation Fleet to determine which
#' of the specified instance types to use. Currently, only the
#' `prioritized` allocation strategy is supported. For more information,
#' see [Allocation
#' strategy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy)
#' in the Amazon EC2 User Guide.
#'
#' Valid values: `prioritized`
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensure
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param InstanceTypeSpecifications [required] Information about the instance types for which to reserve the capacity.
#' @param Tenancy Indicates the tenancy of the Capacity Reservation Fleet. All Capacity
#' Reservations in the Fleet inherit this tenancy. The Capacity Reservation
#' Fleet can have one of the following tenancy settings:
#'
#' - `default` - The Capacity Reservation Fleet is created on hardware
#' that is shared with other Amazon Web Services accounts.
#'
#' - `dedicated` - The Capacity Reservations are created on single-tenant
#' hardware that is dedicated to a single Amazon Web Services account.
#' @param TotalTargetCapacity [required] The total number of capacity units to be reserved by the Capacity
#' Reservation Fleet. This value, together with the instance type weights
#' that you assign to each instance type used by the Fleet determine the
#' number of instances for which the Fleet reserves capacity. Both values
#' are based on units that make sense for your workload. For more
#' information, see [Total target
#' capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity)
#' in the Amazon EC2 User Guide.
#' @param EndDate The date and time at which the Capacity Reservation Fleet expires. When
#' the Capacity Reservation Fleet expires, its state changes to `expired`
#' and all of the Capacity Reservations in the Fleet expire.
#'
#' The Capacity Reservation Fleet expires within an hour after the
#' specified time. For example, if you specify `5/31/2019`, `13:30:55`, the
#' Capacity Reservation Fleet is guaranteed to expire between `13:30:55`
#' and `14:30:55` on `5/31/2019`.
#' @param InstanceMatchCriteria Indicates the type of instance launches that the Capacity Reservation
#' Fleet accepts. All Capacity Reservations in the Fleet inherit this
#' instance matching criteria.
#'
#' Currently, Capacity Reservation Fleets support `open` instance matching
#' criteria only. This means that instances that have matching attributes
#' (instance type, platform, and Availability Zone) run in the Capacity
#' Reservations automatically. Instances do not need to explicitly target a
#' Capacity Reservation Fleet to use its reserved capacity.
#' @param TagSpecifications The tags to assign to the Capacity Reservation Fleet. The tags are
#' automatically assigned to the Capacity Reservations in the Fleet.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_capacity_reservation_fleet
ec2_create_capacity_reservation_fleet <- function(AllocationStrategy = NULL, ClientToken = NULL, InstanceTypeSpecifications, Tenancy = NULL, TotalTargetCapacity, EndDate = NULL, InstanceMatchCriteria = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateCapacityReservationFleet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_capacity_reservation_fleet_input(AllocationStrategy = AllocationStrategy, ClientToken = ClientToken, InstanceTypeSpecifications = InstanceTypeSpecifications, Tenancy = Tenancy, TotalTargetCapacity = TotalTargetCapacity, EndDate = EndDate, InstanceMatchCriteria = InstanceMatchCriteria, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_capacity_reservation_fleet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_capacity_reservation_fleet <- ec2_create_capacity_reservation_fleet
#' Creates a carrier gateway
#'
#' @description
#' Creates a carrier gateway. For more information about carrier gateways, see [Carrier gateways](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#wavelength-carrier-gateway) in the *Amazon Web Services Wavelength Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_carrier_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_carrier_gateway/) for full documentation.
#'
#' @param VpcId [required] The ID of the VPC to associate with the carrier gateway.
#' @param TagSpecifications The tags to associate with the carrier gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_carrier_gateway
ec2_create_carrier_gateway <- function(VpcId, TagSpecifications = NULL, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateCarrierGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_carrier_gateway_input(VpcId = VpcId, TagSpecifications = TagSpecifications, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$create_carrier_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_carrier_gateway <- ec2_create_carrier_gateway
#' Creates a Client VPN endpoint
#'
#' @description
#' Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_client_vpn_endpoint/](https://www.paws-r-sdk.com/docs/ec2_create_client_vpn_endpoint/) for full documentation.
#'
#' @param ClientCidrBlock [required] The IPv4 address range, in CIDR notation, from which to assign client IP
#' addresses. The address range cannot overlap with the local CIDR of the
#' VPC in which the associated subnet is located, or the routes that you
#' add manually. The address range cannot be changed after the Client VPN
#' endpoint has been created. Client CIDR range must have a size of at
#' least /22 and must not be greater than /12.
#' @param ServerCertificateArn [required] The ARN of the server certificate. For more information, see the
#' [Certificate Manager User
#' Guide](https://docs.aws.amazon.com/acm/latest/userguide/).
#' @param AuthenticationOptions [required] Information about the authentication method to be used to authenticate
#' clients.
#' @param ConnectionLogOptions [required] Information about the client connection logging options.
#'
#' If you enable client connection logging, data about client connections
#' is sent to a Cloudwatch Logs log stream. The following information is
#' logged:
#'
#' - Client connection requests
#'
#' - Client connection results (successful and unsuccessful)
#'
#' - Reasons for unsuccessful client connection requests
#'
#' - Client connection termination time
#' @param DnsServers Information about the DNS servers to be used for DNS resolution. A
#' Client VPN endpoint can have up to two DNS servers. If no DNS server is
#' specified, the DNS address configured on the device is used for the DNS
#' server.
#' @param TransportProtocol The transport protocol to be used by the VPN session.
#'
#' Default value: `udp`
#' @param VpnPort The port number to assign to the Client VPN endpoint for TCP and UDP
#' traffic.
#'
#' Valid Values: `443` | `1194`
#'
#' Default Value: `443`
#' @param Description A brief description of the Client VPN endpoint.
#' @param SplitTunnel Indicates whether split-tunnel is enabled on the Client VPN endpoint.
#'
#' By default, split-tunnel on a VPN endpoint is disabled.
#'
#' For information about split-tunnel VPN endpoints, see [Split-tunnel
#' Client VPN
#' endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html)
#' in the *Client VPN Administrator Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param TagSpecifications The tags to apply to the Client VPN endpoint during creation.
#' @param SecurityGroupIds The IDs of one or more security groups to apply to the target network.
#' You must also specify the ID of the VPC that contains the security
#' groups.
#' @param VpcId The ID of the VPC to associate with the Client VPN endpoint. If no
#' security group IDs are specified in the request, the default security
#' group for the VPC is applied.
#' @param SelfServicePortal Specify whether to enable the self-service portal for the Client VPN
#' endpoint.
#'
#' Default Value: `enabled`
#' @param ClientConnectOptions The options for managing connection authorization for new client
#' connections.
#' @param SessionTimeoutHours The maximum VPN session duration time in hours.
#'
#' Valid values: `8 | 10 | 12 | 24`
#'
#' Default value: `24`
#' @param ClientLoginBannerOptions Options for enabling a customizable text banner that will be displayed
#' on Amazon Web Services provided clients when a VPN session is
#' established.
#'
#' @keywords internal
#'
#' @rdname ec2_create_client_vpn_endpoint
ec2_create_client_vpn_endpoint <- function(ClientCidrBlock, ServerCertificateArn, AuthenticationOptions, ConnectionLogOptions, DnsServers = NULL, TransportProtocol = NULL, VpnPort = NULL, Description = NULL, SplitTunnel = NULL, DryRun = NULL, ClientToken = NULL, TagSpecifications = NULL, SecurityGroupIds = NULL, VpcId = NULL, SelfServicePortal = NULL, ClientConnectOptions = NULL, SessionTimeoutHours = NULL, ClientLoginBannerOptions = NULL) {
op <- new_operation(
name = "CreateClientVpnEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_client_vpn_endpoint_input(ClientCidrBlock = ClientCidrBlock, ServerCertificateArn = ServerCertificateArn, AuthenticationOptions = AuthenticationOptions, ConnectionLogOptions = ConnectionLogOptions, DnsServers = DnsServers, TransportProtocol = TransportProtocol, VpnPort = VpnPort, Description = Description, SplitTunnel = SplitTunnel, DryRun = DryRun, ClientToken = ClientToken, TagSpecifications = TagSpecifications, SecurityGroupIds = SecurityGroupIds, VpcId = VpcId, SelfServicePortal = SelfServicePortal, ClientConnectOptions = ClientConnectOptions, SessionTimeoutHours = SessionTimeoutHours, ClientLoginBannerOptions = ClientLoginBannerOptions)
output <- .ec2$create_client_vpn_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_client_vpn_endpoint <- ec2_create_client_vpn_endpoint
#' Adds a route to a network to a Client VPN endpoint
#'
#' @description
#' Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the available destination network routes. Each route in the route table specifies the path for traffic to specific resources or networks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_client_vpn_route/](https://www.paws-r-sdk.com/docs/ec2_create_client_vpn_route/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint to which to add the route.
#' @param DestinationCidrBlock [required] The IPv4 address range, in CIDR notation, of the route destination. For
#' example:
#'
#' - To add a route for Internet access, enter `0.0.0.0/0`
#'
#' - To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR
#' range
#'
#' - To add a route for an on-premises network, enter the Amazon Web
#' Services Site-to-Site VPN connection's IPv4 CIDR range
#'
#' - To add a route for the local network, enter the client CIDR range
#' @param TargetVpcSubnetId [required] The ID of the subnet through which you want to route traffic. The
#' specified subnet must be an existing target network of the Client VPN
#' endpoint.
#'
#' Alternatively, if you're adding a route for the local network, specify
#' `local`.
#' @param Description A brief description of the route.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_client_vpn_route
ec2_create_client_vpn_route <- function(ClientVpnEndpointId, DestinationCidrBlock, TargetVpcSubnetId, Description = NULL, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateClientVpnRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_client_vpn_route_input(ClientVpnEndpointId = ClientVpnEndpointId, DestinationCidrBlock = DestinationCidrBlock, TargetVpcSubnetId = TargetVpcSubnetId, Description = Description, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$create_client_vpn_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_client_vpn_route <- ec2_create_client_vpn_route
#' Creates a range of customer-owned IP addresses
#'
#' @description
#' Creates a range of customer-owned IP addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_coip_cidr/](https://www.paws-r-sdk.com/docs/ec2_create_coip_cidr/) for full documentation.
#'
#' @param Cidr [required] A customer-owned IP address range to create.
#' @param CoipPoolId [required] The ID of the address pool.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_coip_cidr
ec2_create_coip_cidr <- function(Cidr, CoipPoolId, DryRun = NULL) {
op <- new_operation(
name = "CreateCoipCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_coip_cidr_input(Cidr = Cidr, CoipPoolId = CoipPoolId, DryRun = DryRun)
output <- .ec2$create_coip_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_coip_cidr <- ec2_create_coip_cidr
#' Creates a pool of customer-owned IP (CoIP) addresses
#'
#' @description
#' Creates a pool of customer-owned IP (CoIP) addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_coip_pool/](https://www.paws-r-sdk.com/docs/ec2_create_coip_pool/) for full documentation.
#'
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param TagSpecifications The tags to assign to the CoIP address pool.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_coip_pool
ec2_create_coip_pool <- function(LocalGatewayRouteTableId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateCoipPool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_coip_pool_input(LocalGatewayRouteTableId = LocalGatewayRouteTableId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_coip_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_coip_pool <- ec2_create_coip_pool
#' Provides information to Amazon Web Services about your customer gateway
#' device
#'
#' @description
#' Provides information to Amazon Web Services about your customer gateway device. The customer gateway device is the appliance at your end of the VPN connection. You must provide the IP address of the customer gateway device’s external interface. The IP address must be static and can be behind a device performing network address translation (NAT).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_customer_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_customer_gateway/) for full documentation.
#'
#' @param BgpAsn For devices that support BGP, the customer gateway's BGP ASN.
#'
#' Default: 65000
#' @param PublicIp *This member has been deprecated.* The Internet-routable IP address for
#' the customer gateway's outside interface. The address must be static.
#' @param CertificateArn The Amazon Resource Name (ARN) for the customer gateway certificate.
#' @param Type [required] The type of VPN connection that this customer gateway supports
#' (`ipsec.1`).
#' @param TagSpecifications The tags to apply to the customer gateway.
#' @param DeviceName A name for the customer gateway device.
#'
#' Length Constraints: Up to 255 characters.
#' @param IpAddress IPv4 address for the customer gateway device's outside interface. The
#' address must be static.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_customer_gateway
ec2_create_customer_gateway <- function(BgpAsn = NULL, PublicIp = NULL, CertificateArn = NULL, Type, TagSpecifications = NULL, DeviceName = NULL, IpAddress = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateCustomerGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_customer_gateway_input(BgpAsn = BgpAsn, PublicIp = PublicIp, CertificateArn = CertificateArn, Type = Type, TagSpecifications = TagSpecifications, DeviceName = DeviceName, IpAddress = IpAddress, DryRun = DryRun)
output <- .ec2$create_customer_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_customer_gateway <- ec2_create_customer_gateway
#' Creates a default subnet with a size /20 IPv4 CIDR block in the
#' specified Availability Zone in your default VPC
#'
#' @description
#' Creates a default subnet with a size `/20` IPv4 CIDR block in the specified Availability Zone in your default VPC. You can have only one default subnet per Availability Zone. For more information, see [Create a default subnet](https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_default_subnet/](https://www.paws-r-sdk.com/docs/ec2_create_default_subnet/) for full documentation.
#'
#' @param AvailabilityZone [required] The Availability Zone in which to create the default subnet.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Ipv6Native Indicates whether to create an IPv6 only subnet. If you already have a
#' default subnet for this Availability Zone, you must delete it before you
#' can create an IPv6 only subnet.
#'
#' @keywords internal
#'
#' @rdname ec2_create_default_subnet
ec2_create_default_subnet <- function(AvailabilityZone, DryRun = NULL, Ipv6Native = NULL) {
op <- new_operation(
name = "CreateDefaultSubnet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_default_subnet_input(AvailabilityZone = AvailabilityZone, DryRun = DryRun, Ipv6Native = Ipv6Native)
output <- .ec2$create_default_subnet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_default_subnet <- ec2_create_default_subnet
#' Creates a default VPC with a size /16 IPv4 CIDR block and a default
#' subnet in each Availability Zone
#'
#' @description
#' Creates a default VPC with a size `/16` IPv4 CIDR block and a default subnet in each Availability Zone. For more information about the components of a default VPC, see [Default VPCs](https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html) in the *Amazon VPC User Guide*. You cannot specify the components of the default VPC yourself.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_default_vpc/](https://www.paws-r-sdk.com/docs/ec2_create_default_vpc/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_default_vpc
ec2_create_default_vpc <- function(DryRun = NULL) {
op <- new_operation(
name = "CreateDefaultVpc",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_default_vpc_input(DryRun = DryRun)
output <- .ec2$create_default_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_default_vpc <- ec2_create_default_vpc
#' Creates a custom set of DHCP options
#'
#' @description
#' Creates a custom set of DHCP options. After you create a DHCP option set, you associate it with a VPC. After you associate a DHCP option set with a VPC, all existing and newly launched instances in the VPC use this set of DHCP options.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_dhcp_options/](https://www.paws-r-sdk.com/docs/ec2_create_dhcp_options/) for full documentation.
#'
#' @param DhcpConfigurations [required] A DHCP configuration option.
#' @param TagSpecifications The tags to assign to the DHCP option.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_dhcp_options
ec2_create_dhcp_options <- function(DhcpConfigurations, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateDhcpOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_dhcp_options_input(DhcpConfigurations = DhcpConfigurations, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_dhcp_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_dhcp_options <- ec2_create_dhcp_options
#' [IPv6 only] Creates an egress-only internet gateway for your VPC
#'
#' @description
#' \[IPv6 only\] Creates an egress-only internet gateway for your VPC. An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_egress_only_internet_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_egress_only_internet_gateway/) for full documentation.
#'
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcId [required] The ID of the VPC for which to create the egress-only internet gateway.
#' @param TagSpecifications The tags to assign to the egress-only internet gateway.
#'
#' @keywords internal
#'
#' @rdname ec2_create_egress_only_internet_gateway
ec2_create_egress_only_internet_gateway <- function(ClientToken = NULL, DryRun = NULL, VpcId, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateEgressOnlyInternetGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_egress_only_internet_gateway_input(ClientToken = ClientToken, DryRun = DryRun, VpcId = VpcId, TagSpecifications = TagSpecifications)
output <- .ec2$create_egress_only_internet_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_egress_only_internet_gateway <- ec2_create_egress_only_internet_gateway
#' Creates an EC2 Fleet that contains the configuration information for
#' On-Demand Instances and Spot Instances
#'
#' @description
#' Creates an EC2 Fleet that contains the configuration information for On-Demand Instances and Spot Instances. Instances are launched immediately if there is available capacity.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_fleet/](https://www.paws-r-sdk.com/docs/ec2_create_fleet/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param SpotOptions Describes the configuration of Spot Instances in an EC2 Fleet.
#' @param OnDemandOptions Describes the configuration of On-Demand Instances in an EC2 Fleet.
#' @param ExcessCapacityTerminationPolicy Indicates whether running instances should be terminated if the total
#' target capacity of the EC2 Fleet is decreased below the current size of
#' the EC2 Fleet.
#'
#' Supported only for fleets of type `maintain`.
#' @param LaunchTemplateConfigs [required] The configuration for the EC2 Fleet.
#' @param TargetCapacitySpecification [required] The number of units to request.
#' @param TerminateInstancesWithExpiration Indicates whether running instances should be terminated when the EC2
#' Fleet expires.
#' @param Type The fleet type. The default value is `maintain`.
#'
#' - `maintain` - The EC2 Fleet places an asynchronous request for your
#' desired capacity, and continues to maintain your desired Spot
#' capacity by replenishing interrupted Spot Instances.
#'
#' - `request` - The EC2 Fleet places an asynchronous one-time request
#' for your desired capacity, but does submit Spot requests in
#' alternative capacity pools if Spot capacity is unavailable, and does
#' not maintain Spot capacity if Spot Instances are interrupted.
#'
#' - `instant` - The EC2 Fleet places a synchronous one-time request for
#' your desired capacity, and returns errors for any instances that
#' could not be launched.
#'
#' For more information, see [EC2 Fleet request
#' types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-request-type.html)
#' in the *Amazon EC2 User Guide*.
#' @param ValidFrom The start date and time of the request, in UTC format (for example,
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The default is to start fulfilling
#' the request immediately.
#' @param ValidUntil The end date and time of the request, in UTC format (for example,
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). At this point, no new EC2 Fleet
#' requests are placed or able to fulfill the request. If no value is
#' specified, the request remains until you cancel it.
#' @param ReplaceUnhealthyInstances Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
#' Supported only for fleets of type `maintain`. For more information, see
#' [EC2 Fleet health
#' checks](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks)
#' in the *Amazon EC2 User Guide*.
#' @param TagSpecifications The key-value pair for tagging the EC2 Fleet request on creation. For
#' more information, see [Tag your
#' resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources).
#'
#' If the fleet type is `instant`, specify a resource type of `fleet` to
#' tag the fleet or `instance` to tag the instances at launch.
#'
#' If the fleet type is `maintain` or `request`, specify a resource type of
#' `fleet` to tag the fleet. You cannot specify a resource type of
#' `instance`. To tag instances at launch, specify the tags in a [launch
#' template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template).
#' @param Context Reserved.
#'
#' @keywords internal
#'
#' @rdname ec2_create_fleet
ec2_create_fleet <- function(DryRun = NULL, ClientToken = NULL, SpotOptions = NULL, OnDemandOptions = NULL, ExcessCapacityTerminationPolicy = NULL, LaunchTemplateConfigs, TargetCapacitySpecification, TerminateInstancesWithExpiration = NULL, Type = NULL, ValidFrom = NULL, ValidUntil = NULL, ReplaceUnhealthyInstances = NULL, TagSpecifications = NULL, Context = NULL) {
op <- new_operation(
name = "CreateFleet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_fleet_input(DryRun = DryRun, ClientToken = ClientToken, SpotOptions = SpotOptions, OnDemandOptions = OnDemandOptions, ExcessCapacityTerminationPolicy = ExcessCapacityTerminationPolicy, LaunchTemplateConfigs = LaunchTemplateConfigs, TargetCapacitySpecification = TargetCapacitySpecification, TerminateInstancesWithExpiration = TerminateInstancesWithExpiration, Type = Type, ValidFrom = ValidFrom, ValidUntil = ValidUntil, ReplaceUnhealthyInstances = ReplaceUnhealthyInstances, TagSpecifications = TagSpecifications, Context = Context)
output <- .ec2$create_fleet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_fleet <- ec2_create_fleet
#' Creates one or more flow logs to capture information about IP traffic
#' for a specific network interface, subnet, or VPC
#'
#' @description
#' Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet, or VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_flow_logs/](https://www.paws-r-sdk.com/docs/ec2_create_flow_logs/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DeliverLogsPermissionArn The ARN of the IAM role that allows Amazon EC2 to publish flow logs to
#' the log destination.
#'
#' This parameter is required if the destination type is
#' `cloud-watch-logs`, or if the destination type is
#' `kinesis-data-firehose` and the delivery stream and the resources to
#' monitor are in different accounts.
#' @param DeliverCrossAccountRole The ARN of the IAM role that allows Amazon EC2 to publish flow logs
#' across accounts.
#' @param LogGroupName The name of a new or existing CloudWatch Logs log group where Amazon EC2
#' publishes your flow logs.
#'
#' This parameter is valid only if the destination type is
#' `cloud-watch-logs`.
#' @param ResourceIds [required] The IDs of the resources to monitor. For example, if the resource type
#' is `VPC`, specify the IDs of the VPCs.
#'
#' Constraints: Maximum of 25 for transit gateway resource types. Maximum
#' of 1000 for the other resource types.
#' @param ResourceType [required] The type of resource to monitor.
#' @param TrafficType The type of traffic to monitor (accepted traffic, rejected traffic, or
#' all traffic). This parameter is not supported for transit gateway
#' resource types. It is required for the other resource types.
#' @param LogDestinationType The type of destination for the flow log data.
#'
#' Default: `cloud-watch-logs`
#' @param LogDestination The destination for the flow log data. The meaning of this parameter
#' depends on the destination type.
#'
#' - If the destination type is `cloud-watch-logs`, specify the ARN of a
#' CloudWatch Logs log group. For example:
#'
#' arn:aws:logs:*region*:*account_id*:log-group:*my_group*
#'
#' Alternatively, use the `LogGroupName` parameter.
#'
#' - If the destination type is `s3`, specify the ARN of an S3 bucket.
#' For example:
#'
#' arn:aws:s3:::*my_bucket*/*my_subfolder*/
#'
#' The subfolder is optional. Note that you can't use `AWSLogs` as a
#' subfolder name.
#'
#' - If the destination type is `kinesis-data-firehose`, specify the ARN
#' of a Kinesis Data Firehose delivery stream. For example:
#'
#' arn:aws:firehose:*region*:*account_id*:deliverystream:*my_stream*
#' @param LogFormat The fields to include in the flow log record. List the fields in the
#' order in which they should appear. If you omit this parameter, the flow
#' log is created using the default format. If you specify this parameter,
#' you must include at least one field. For more information about the
#' available fields, see [Flow log
#' records](https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records)
#' in the *Amazon VPC User Guide* or [Transit Gateway Flow Log
#' records](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records)
#' in the *Amazon Web Services Transit Gateway Guide*.
#'
#' Specify the fields using the `${field-id}` format, separated by spaces.
#' @param TagSpecifications The tags to apply to the flow logs.
#' @param MaxAggregationInterval The maximum interval of time during which a flow of packets is captured
#' and aggregated into a flow log record. The possible values are 60
#' seconds (1 minute) or 600 seconds (10 minutes). This parameter must be
#' 60 seconds for transit gateway resource types.
#'
#' When a network interface is attached to a [Nitro-based
#' instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances),
#' the aggregation interval is always 60 seconds or less, regardless of the
#' value that you specify.
#'
#' Default: 600
#' @param DestinationOptions The destination options.
#'
#' @keywords internal
#'
#' @rdname ec2_create_flow_logs
ec2_create_flow_logs <- function(DryRun = NULL, ClientToken = NULL, DeliverLogsPermissionArn = NULL, DeliverCrossAccountRole = NULL, LogGroupName = NULL, ResourceIds, ResourceType, TrafficType = NULL, LogDestinationType = NULL, LogDestination = NULL, LogFormat = NULL, TagSpecifications = NULL, MaxAggregationInterval = NULL, DestinationOptions = NULL) {
op <- new_operation(
name = "CreateFlowLogs",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_flow_logs_input(DryRun = DryRun, ClientToken = ClientToken, DeliverLogsPermissionArn = DeliverLogsPermissionArn, DeliverCrossAccountRole = DeliverCrossAccountRole, LogGroupName = LogGroupName, ResourceIds = ResourceIds, ResourceType = ResourceType, TrafficType = TrafficType, LogDestinationType = LogDestinationType, LogDestination = LogDestination, LogFormat = LogFormat, TagSpecifications = TagSpecifications, MaxAggregationInterval = MaxAggregationInterval, DestinationOptions = DestinationOptions)
output <- .ec2$create_flow_logs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_flow_logs <- ec2_create_flow_logs
#' Creates an Amazon FPGA Image (AFI) from the specified design checkpoint
#' (DCP)
#'
#' @description
#' Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_fpga_image/](https://www.paws-r-sdk.com/docs/ec2_create_fpga_image/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InputStorageLocation [required] The location of the encrypted design checkpoint in Amazon S3. The input
#' must be a tarball.
#' @param LogsStorageLocation The location in Amazon S3 for the output logs.
#' @param Description A description for the AFI.
#' @param Name A name for the AFI.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param TagSpecifications The tags to apply to the FPGA image during creation.
#'
#' @keywords internal
#'
#' @rdname ec2_create_fpga_image
ec2_create_fpga_image <- function(DryRun = NULL, InputStorageLocation, LogsStorageLocation = NULL, Description = NULL, Name = NULL, ClientToken = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateFpgaImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_fpga_image_input(DryRun = DryRun, InputStorageLocation = InputStorageLocation, LogsStorageLocation = LogsStorageLocation, Description = Description, Name = Name, ClientToken = ClientToken, TagSpecifications = TagSpecifications)
output <- .ec2$create_fpga_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_fpga_image <- ec2_create_fpga_image
#' Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that
#' is either running or stopped
#'
#' @description
#' Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_image/](https://www.paws-r-sdk.com/docs/ec2_create_image/) for full documentation.
#'
#' @param BlockDeviceMappings The block device mappings.
#'
#' When using the CreateImage action:
#'
#' - You can't change the volume size using the VolumeSize parameter. If
#' you want a different volume size, you must first change the volume
#' size of the source instance.
#'
#' - You can't modify the encryption status of existing volumes or
#' snapshots. To create an AMI with volumes or snapshots that have a
#' different encryption status (for example, where the source volume
#' and snapshots are unencrypted, and you want to create an AMI with
#' encrypted volumes or snapshots), use the
#' [`copy_image`][ec2_copy_image] action.
#'
#' - The only option that can be changed for existing mappings or
#' snapshots is `DeleteOnTermination`.
#' @param Description A description for the new image.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#' @param Name [required] A name for the new image.
#'
#' Constraints: 3-128 alphanumeric characters, parentheses (()), square
#' brackets (\[\]), spaces ( ), periods (.), slashes (/), dashes (-),
#' single quotes ('), at-signs (@@), or underscores(_)
#' @param NoReboot Indicates whether or not the instance should be automatically rebooted
#' before creating the image. Specify one of the following values:
#'
#' - `true` - The instance is not rebooted before creating the image.
#' This creates crash-consistent snapshots that include only the data
#' that has been written to the volumes at the time the snapshots are
#' created. Buffered data and data in memory that has not yet been
#' written to the volumes is not included in the snapshots.
#'
#' - `false` - The instance is rebooted before creating the image. This
#' ensures that all buffered data and data in memory is written to the
#' volumes before the snapshots are created.
#'
#' Default: `false`
#' @param TagSpecifications The tags to apply to the AMI and snapshots on creation. You can tag the
#' AMI, the snapshots, or both.
#'
#' - To tag the AMI, the value for `ResourceType` must be `image`.
#'
#' - To tag the snapshots that are created of the root volume and of
#' other Amazon EBS volumes that are attached to the instance, the
#' value for `ResourceType` must be `snapshot`. The same tag is applied
#' to all of the snapshots that are created.
#'
#' If you specify other values for `ResourceType`, the request fails.
#'
#' To tag an AMI or snapshot after it has been created, see
#' [`create_tags`][ec2_create_tags].
#'
#' @keywords internal
#'
#' @rdname ec2_create_image
ec2_create_image <- function(BlockDeviceMappings = NULL, Description = NULL, DryRun = NULL, InstanceId, Name, NoReboot = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_image_input(BlockDeviceMappings = BlockDeviceMappings, Description = Description, DryRun = DryRun, InstanceId = InstanceId, Name = Name, NoReboot = NoReboot, TagSpecifications = TagSpecifications)
output <- .ec2$create_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_image <- ec2_create_image
#' Creates an EC2 Instance Connect Endpoint
#'
#' @description
#' Creates an EC2 Instance Connect Endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_instance_connect_endpoint/](https://www.paws-r-sdk.com/docs/ec2_create_instance_connect_endpoint/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SubnetId [required] The ID of the subnet in which to create the EC2 Instance Connect
#' Endpoint.
#' @param SecurityGroupIds One or more security groups to associate with the endpoint. If you don't
#' specify a security group, the default security group for your VPC will
#' be associated with the endpoint.
#' @param PreserveClientIp Indicates whether your client's IP address is preserved as the source.
#' The value is `true` or `false`.
#'
#' - If `true`, your client's IP address is used when you connect to a
#' resource.
#'
#' - If `false`, the elastic network interface IP address is used when
#' you connect to a resource.
#'
#' Default: `true`
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request.
#' @param TagSpecifications The tags to apply to the EC2 Instance Connect Endpoint during creation.
#'
#' @keywords internal
#'
#' @rdname ec2_create_instance_connect_endpoint
ec2_create_instance_connect_endpoint <- function(DryRun = NULL, SubnetId, SecurityGroupIds = NULL, PreserveClientIp = NULL, ClientToken = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateInstanceConnectEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_instance_connect_endpoint_input(DryRun = DryRun, SubnetId = SubnetId, SecurityGroupIds = SecurityGroupIds, PreserveClientIp = PreserveClientIp, ClientToken = ClientToken, TagSpecifications = TagSpecifications)
output <- .ec2$create_instance_connect_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_instance_connect_endpoint <- ec2_create_instance_connect_endpoint
#' Creates an event window in which scheduled events for the associated
#' Amazon EC2 instances can run
#'
#' @description
#' Creates an event window in which scheduled events for the associated Amazon EC2 instances can run.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_instance_event_window/](https://www.paws-r-sdk.com/docs/ec2_create_instance_event_window/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Name The name of the event window.
#' @param TimeRanges The time range for the event window. If you specify a time range, you
#' can't specify a cron expression.
#' @param CronExpression The cron expression for the event window, for example,
#' `* 0-4,20-23 * * 1,5`. If you specify a cron expression, you can't
#' specify a time range.
#'
#' Constraints:
#'
#' - Only hour and day of the week values are supported.
#'
#' - For day of the week values, you can specify either integers `0`
#' through `6`, or alternative single values `SUN` through `SAT`.
#'
#' - The minute, month, and year must be specified by `*`.
#'
#' - The hour value must be one or a multiple range, for example, `0-4`
#' or `0-4,20-23`.
#'
#' - Each hour range must be \>= 2 hours, for example, `0-2` or `20-23`.
#'
#' - The event window must be \>= 4 hours. The combined total time ranges
#' in the event window must be \>= 4 hours.
#'
#' For more information about cron expressions, see
#' [cron](https://en.wikipedia.org/wiki/Cron) on the *Wikipedia website*.
#' @param TagSpecifications The tags to apply to the event window.
#'
#' @keywords internal
#'
#' @rdname ec2_create_instance_event_window
ec2_create_instance_event_window <- function(DryRun = NULL, Name = NULL, TimeRanges = NULL, CronExpression = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateInstanceEventWindow",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_instance_event_window_input(DryRun = DryRun, Name = Name, TimeRanges = TimeRanges, CronExpression = CronExpression, TagSpecifications = TagSpecifications)
output <- .ec2$create_instance_event_window_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_instance_event_window <- ec2_create_instance_event_window
#' Exports a running or stopped instance to an Amazon S3 bucket
#'
#' @description
#' Exports a running or stopped instance to an Amazon S3 bucket.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_instance_export_task/](https://www.paws-r-sdk.com/docs/ec2_create_instance_export_task/) for full documentation.
#'
#' @param Description A description for the conversion task or the resource being exported.
#' The maximum length is 255 characters.
#' @param ExportToS3Task [required] The format and location for an export instance task.
#' @param InstanceId [required] The ID of the instance.
#' @param TargetEnvironment [required] The target virtualization environment.
#' @param TagSpecifications The tags to apply to the export instance task during creation.
#'
#' @keywords internal
#'
#' @rdname ec2_create_instance_export_task
ec2_create_instance_export_task <- function(Description = NULL, ExportToS3Task, InstanceId, TargetEnvironment, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateInstanceExportTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_instance_export_task_input(Description = Description, ExportToS3Task = ExportToS3Task, InstanceId = InstanceId, TargetEnvironment = TargetEnvironment, TagSpecifications = TagSpecifications)
output <- .ec2$create_instance_export_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_instance_export_task <- ec2_create_instance_export_task
#' Creates an internet gateway for use with a VPC
#'
#' @description
#' Creates an internet gateway for use with a VPC. After creating the internet gateway, you attach it to a VPC using [`attach_internet_gateway`][ec2_attach_internet_gateway].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_internet_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_internet_gateway/) for full documentation.
#'
#' @param TagSpecifications The tags to assign to the internet gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_internet_gateway
ec2_create_internet_gateway <- function(TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateInternetGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_internet_gateway_input(TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_internet_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_internet_gateway <- ec2_create_internet_gateway
#' Create an IPAM
#'
#' @description
#' Create an IPAM. Amazon VPC IP Address Manager (IPAM) is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across Amazon Web Services Regions and accounts throughout your Amazon Web Services Organization.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_ipam/](https://www.paws-r-sdk.com/docs/ec2_create_ipam/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Description A description for the IPAM.
#' @param OperatingRegions The operating Regions for the IPAM. Operating Regions are Amazon Web
#' Services Regions where the IPAM is allowed to manage IP address CIDRs.
#' IPAM only discovers and monitors resources in the Amazon Web Services
#' Regions you select as operating Regions.
#'
#' For more information about operating Regions, see [Create an
#' IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in
#' the *Amazon VPC IPAM User Guide*.
#' @param TagSpecifications The key/value combination of a tag assigned to the resource. Use the tag
#' key in the filter name and the tag value as the filter value. For
#' example, to find all resources that have a tag with the key `Owner` and
#' the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA`
#' for the filter value.
#' @param ClientToken A unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param Tier IPAM is offered in a Free Tier and an Advanced Tier. For more
#' information about the features available in each tier and the costs
#' associated with the tiers, see [Amazon VPC pricing \> IPAM
#' tab](https://aws.amazon.com/vpc/pricing/).
#'
#' @keywords internal
#'
#' @rdname ec2_create_ipam
ec2_create_ipam <- function(DryRun = NULL, Description = NULL, OperatingRegions = NULL, TagSpecifications = NULL, ClientToken = NULL, Tier = NULL) {
op <- new_operation(
name = "CreateIpam",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_ipam_input(DryRun = DryRun, Description = Description, OperatingRegions = OperatingRegions, TagSpecifications = TagSpecifications, ClientToken = ClientToken, Tier = Tier)
output <- .ec2$create_ipam_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_ipam <- ec2_create_ipam
#' Create an IP address pool for Amazon VPC IP Address Manager (IPAM)
#'
#' @description
#' Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your IP addresses according to your routing and security needs. For example, if you have separate routing and security needs for development and production applications, you can create a pool for each.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_ipam_pool/](https://www.paws-r-sdk.com/docs/ec2_create_ipam_pool/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamScopeId [required] The ID of the scope in which you would like to create the IPAM pool.
#' @param Locale In IPAM, the locale is the Amazon Web Services Region where you want to
#' make an IPAM pool available for allocations. Only resources in the same
#' Region as the locale of the pool can get IP address allocations from the
#' pool. You can only allocate a CIDR for a VPC, for example, from an IPAM
#' pool that shares a locale with the VPC’s Region. Note that once you
#' choose a Locale for a pool, you cannot modify it. If you do not choose a
#' locale, resources in Regions others than the IPAM's home region cannot
#' use CIDRs from this pool.
#'
#' Possible values: Any Amazon Web Services Region, such as us-east-1.
#' @param SourceIpamPoolId The ID of the source IPAM pool. Use this option to create a pool within
#' an existing pool. Note that the CIDR you provision for the pool within
#' the source pool must be available in the source pool's CIDR range.
#' @param Description A description for the IPAM pool.
#' @param AddressFamily [required] The IP protocol assigned to this IPAM pool. You must choose either IPv4
#' or IPv6 protocol for a pool.
#' @param AutoImport If selected, IPAM will continuously look for resources within the CIDR
#' range of this pool and automatically import them as allocations into
#' your IPAM. The CIDRs that will be allocated for these resources must not
#' already be allocated to other resources in order for the import to
#' succeed. IPAM will import a CIDR regardless of its compliance with the
#' pool's allocation rules, so a resource might be imported and
#' subsequently marked as noncompliant. If IPAM discovers multiple CIDRs
#' that overlap, IPAM will import the largest CIDR only. If IPAM discovers
#' multiple CIDRs with matching CIDRs, IPAM will randomly import one of
#' them only.
#'
#' A locale must be set on the pool for this feature to work.
#' @param PubliclyAdvertisable Determines if the pool is publicly advertisable. This option is not
#' available for pools with AddressFamily set to `ipv4`.
#' @param AllocationMinNetmaskLength The minimum netmask length required for CIDR allocations in this IPAM
#' pool to be compliant. The minimum netmask length must be less than the
#' maximum netmask length. Possible netmask lengths for IPv4 addresses are
#' 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
#' @param AllocationMaxNetmaskLength The maximum netmask length possible for CIDR allocations in this IPAM
#' pool to be compliant. The maximum netmask length must be greater than
#' the minimum netmask length. Possible netmask lengths for IPv4 addresses
#' are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
#' @param AllocationDefaultNetmaskLength The default netmask length for allocations added to this pool. If, for
#' example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16
#' here, new allocations will default to 10.0.0.0/16.
#' @param AllocationResourceTags Tags that are required for resources that use CIDRs from this IPAM pool.
#' Resources that do not have these tags will not be allowed to allocate
#' space from the pool. If the resources have their tags changed after they
#' have allocated space or if the allocation tagging requirements are
#' changed on the pool, the resource may be marked as noncompliant.
#' @param TagSpecifications The key/value combination of a tag assigned to the resource. Use the tag
#' key in the filter name and the tag value as the filter value. For
#' example, to find all resources that have a tag with the key `Owner` and
#' the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA`
#' for the filter value.
#' @param ClientToken A unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param AwsService Limits which service in Amazon Web Services that the pool can be used
#' in. "ec2", for example, allows users to use space for Elastic IP
#' addresses and VPCs.
#' @param PublicIpSource The IP address source for pools in the public scope. Only used for
#' provisioning IP address CIDRs to pools in the public scope. Default is
#' `byoip`. For more information, see [Create IPv6
#' pools](https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html)
#' in the *Amazon VPC IPAM User Guide*. By default, you can add only one
#' Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if
#' PublicIpSource is `amazon`. For information on increasing the default
#' limit, see [Quotas for your
#' IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in
#' the *Amazon VPC IPAM User Guide*.
#' @param SourceResource The resource used to provision CIDRs to a resource planning pool.
#'
#' @keywords internal
#'
#' @rdname ec2_create_ipam_pool
ec2_create_ipam_pool <- function(DryRun = NULL, IpamScopeId, Locale = NULL, SourceIpamPoolId = NULL, Description = NULL, AddressFamily, AutoImport = NULL, PubliclyAdvertisable = NULL, AllocationMinNetmaskLength = NULL, AllocationMaxNetmaskLength = NULL, AllocationDefaultNetmaskLength = NULL, AllocationResourceTags = NULL, TagSpecifications = NULL, ClientToken = NULL, AwsService = NULL, PublicIpSource = NULL, SourceResource = NULL) {
op <- new_operation(
name = "CreateIpamPool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_ipam_pool_input(DryRun = DryRun, IpamScopeId = IpamScopeId, Locale = Locale, SourceIpamPoolId = SourceIpamPoolId, Description = Description, AddressFamily = AddressFamily, AutoImport = AutoImport, PubliclyAdvertisable = PubliclyAdvertisable, AllocationMinNetmaskLength = AllocationMinNetmaskLength, AllocationMaxNetmaskLength = AllocationMaxNetmaskLength, AllocationDefaultNetmaskLength = AllocationDefaultNetmaskLength, AllocationResourceTags = AllocationResourceTags, TagSpecifications = TagSpecifications, ClientToken = ClientToken, AwsService = AwsService, PublicIpSource = PublicIpSource, SourceResource = SourceResource)
output <- .ec2$create_ipam_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_ipam_pool <- ec2_create_ipam_pool
#' Creates an IPAM resource discovery
#'
#' @description
#' Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_ipam_resource_discovery/](https://www.paws-r-sdk.com/docs/ec2_create_ipam_resource_discovery/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Description A description for the IPAM resource discovery.
#' @param OperatingRegions Operating Regions for the IPAM resource discovery. Operating Regions are
#' Amazon Web Services Regions where the IPAM is allowed to manage IP
#' address CIDRs. IPAM only discovers and monitors resources in the Amazon
#' Web Services Regions you select as operating Regions.
#' @param TagSpecifications Tag specifications for the IPAM resource discovery.
#' @param ClientToken A client token for the IPAM resource discovery.
#'
#' @keywords internal
#'
#' @rdname ec2_create_ipam_resource_discovery
ec2_create_ipam_resource_discovery <- function(DryRun = NULL, Description = NULL, OperatingRegions = NULL, TagSpecifications = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateIpamResourceDiscovery",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_ipam_resource_discovery_input(DryRun = DryRun, Description = Description, OperatingRegions = OperatingRegions, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$create_ipam_resource_discovery_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_ipam_resource_discovery <- ec2_create_ipam_resource_discovery
#' Create an IPAM scope
#'
#' @description
#' Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_ipam_scope/](https://www.paws-r-sdk.com/docs/ec2_create_ipam_scope/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamId [required] The ID of the IPAM for which you're creating this scope.
#' @param Description A description for the scope you're creating.
#' @param TagSpecifications The key/value combination of a tag assigned to the resource. Use the tag
#' key in the filter name and the tag value as the filter value. For
#' example, to find all resources that have a tag with the key `Owner` and
#' the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA`
#' for the filter value.
#' @param ClientToken A unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_ipam_scope
ec2_create_ipam_scope <- function(DryRun = NULL, IpamId, Description = NULL, TagSpecifications = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateIpamScope",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_ipam_scope_input(DryRun = DryRun, IpamId = IpamId, Description = Description, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$create_ipam_scope_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_ipam_scope <- ec2_create_ipam_scope
#' Creates an ED25519 or 2048-bit RSA key pair with the specified name and
#' in the specified PEM or PPK format
#'
#' @description
#' Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified PEM or PPK format. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 private key or an unencrypted PPK formatted private key for use with PuTTY. If a key with the specified name already exists, Amazon EC2 returns an error.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_key_pair/](https://www.paws-r-sdk.com/docs/ec2_create_key_pair/) for full documentation.
#'
#' @param KeyName [required] A unique name for the key pair.
#'
#' Constraints: Up to 255 ASCII characters
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param KeyType The type of key pair. Note that ED25519 keys are not supported for
#' Windows instances.
#'
#' Default: `rsa`
#' @param TagSpecifications The tags to apply to the new key pair.
#' @param KeyFormat The format of the key pair.
#'
#' Default: `pem`
#'
#' @keywords internal
#'
#' @rdname ec2_create_key_pair
ec2_create_key_pair <- function(KeyName, DryRun = NULL, KeyType = NULL, TagSpecifications = NULL, KeyFormat = NULL) {
op <- new_operation(
name = "CreateKeyPair",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_key_pair_input(KeyName = KeyName, DryRun = DryRun, KeyType = KeyType, TagSpecifications = TagSpecifications, KeyFormat = KeyFormat)
output <- .ec2$create_key_pair_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_key_pair <- ec2_create_key_pair
#' Creates a launch template
#'
#' @description
#' Creates a launch template.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_launch_template/](https://www.paws-r-sdk.com/docs/ec2_create_launch_template/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure the idempotency
#' of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' Constraint: Maximum 128 ASCII characters.
#' @param LaunchTemplateName [required] A name for the launch template.
#' @param VersionDescription A description for the first version of the launch template.
#' @param LaunchTemplateData [required] The information for the launch template.
#' @param TagSpecifications The tags to apply to the launch template on creation. To tag the launch
#' template, the resource type must be `launch-template`.
#'
#' To specify the tags for the resources that are created when an instance
#' is launched, you must use the `TagSpecifications` parameter in the
#' [launch template
#' data](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html)
#' structure.
#'
#' @keywords internal
#'
#' @rdname ec2_create_launch_template
ec2_create_launch_template <- function(DryRun = NULL, ClientToken = NULL, LaunchTemplateName, VersionDescription = NULL, LaunchTemplateData, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateLaunchTemplate",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_launch_template_input(DryRun = DryRun, ClientToken = ClientToken, LaunchTemplateName = LaunchTemplateName, VersionDescription = VersionDescription, LaunchTemplateData = LaunchTemplateData, TagSpecifications = TagSpecifications)
output <- .ec2$create_launch_template_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_launch_template <- ec2_create_launch_template
#' Creates a new version of a launch template
#'
#' @description
#' Creates a new version of a launch template. You must specify an existing launch template, either by name or ID. You can determine whether the new version inherits parameters from a source version, and add or overwrite parameters as needed.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_launch_template_version/](https://www.paws-r-sdk.com/docs/ec2_create_launch_template_version/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure the idempotency
#' of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' Constraint: Maximum 128 ASCII characters.
#' @param LaunchTemplateId The ID of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param LaunchTemplateName The name of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param SourceVersion The version of the launch template on which to base the new version.
#' Snapshots applied to the block device mapping are ignored when creating
#' a new version unless they are explicitly included.
#'
#' If you specify this parameter, the new version inherits the launch
#' parameters from the source version. If you specify additional launch
#' parameters for the new version, they overwrite any corresponding launch
#' parameters inherited from the source version.
#'
#' If you omit this parameter, the new version contains only the launch
#' parameters that you specify for the new version.
#' @param VersionDescription A description for the version of the launch template.
#' @param LaunchTemplateData [required] The information for the launch template.
#' @param ResolveAlias If `true`, and if a Systems Manager parameter is specified for
#' `ImageId`, the AMI ID is displayed in the response for `imageID`. For
#' more information, see [Use a Systems Manager parameter instead of an AMI
#' ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id)
#' in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' Default: `false`
#'
#' @keywords internal
#'
#' @rdname ec2_create_launch_template_version
ec2_create_launch_template_version <- function(DryRun = NULL, ClientToken = NULL, LaunchTemplateId = NULL, LaunchTemplateName = NULL, SourceVersion = NULL, VersionDescription = NULL, LaunchTemplateData, ResolveAlias = NULL) {
op <- new_operation(
name = "CreateLaunchTemplateVersion",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_launch_template_version_input(DryRun = DryRun, ClientToken = ClientToken, LaunchTemplateId = LaunchTemplateId, LaunchTemplateName = LaunchTemplateName, SourceVersion = SourceVersion, VersionDescription = VersionDescription, LaunchTemplateData = LaunchTemplateData, ResolveAlias = ResolveAlias)
output <- .ec2$create_launch_template_version_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_launch_template_version <- ec2_create_launch_template_version
#' Creates a static route for the specified local gateway route table
#'
#' @description
#' Creates a static route for the specified local gateway route table. You must specify one of the following targets:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route/](https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route/) for full documentation.
#'
#' @param DestinationCidrBlock The CIDR range used for destination matches. Routing decisions are based
#' on the most specific match.
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param LocalGatewayVirtualInterfaceGroupId The ID of the virtual interface group.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInterfaceId The ID of the network interface.
#' @param DestinationPrefixListId The ID of the prefix list. Use a prefix list in place of
#' `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
#' `DestinationCidrBlock` in the same request.
#'
#' @keywords internal
#'
#' @rdname ec2_create_local_gateway_route
ec2_create_local_gateway_route <- function(DestinationCidrBlock = NULL, LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId = NULL, DryRun = NULL, NetworkInterfaceId = NULL, DestinationPrefixListId = NULL) {
op <- new_operation(
name = "CreateLocalGatewayRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_local_gateway_route_input(DestinationCidrBlock = DestinationCidrBlock, LocalGatewayRouteTableId = LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId = LocalGatewayVirtualInterfaceGroupId, DryRun = DryRun, NetworkInterfaceId = NetworkInterfaceId, DestinationPrefixListId = DestinationPrefixListId)
output <- .ec2$create_local_gateway_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_local_gateway_route <- ec2_create_local_gateway_route
#' Creates a local gateway route table
#'
#' @description
#' Creates a local gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route_table/](https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route_table/) for full documentation.
#'
#' @param LocalGatewayId [required] The ID of the local gateway.
#' @param Mode The mode of the local gateway route table.
#' @param TagSpecifications The tags assigned to the local gateway route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_local_gateway_route_table
ec2_create_local_gateway_route_table <- function(LocalGatewayId, Mode = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateLocalGatewayRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_local_gateway_route_table_input(LocalGatewayId = LocalGatewayId, Mode = Mode, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_local_gateway_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_local_gateway_route_table <- ec2_create_local_gateway_route_table
#' Creates a local gateway route table virtual interface group association
#'
#' @description
#' Creates a local gateway route table virtual interface group association.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route_table_virtual_interface_group_association/](https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route_table_virtual_interface_group_association/) for full documentation.
#'
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param LocalGatewayVirtualInterfaceGroupId [required] The ID of the local gateway route table virtual interface group
#' association.
#' @param TagSpecifications The tags assigned to the local gateway route table virtual interface
#' group association.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_creat_local_gatew_route_table_virtu_inter_group_assoc
ec2_create_local_gateway_route_table_virtual_interface_group_association <- function(LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_local_gateway_route_table_virtual_interface_group_association_input(LocalGatewayRouteTableId = LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId = LocalGatewayVirtualInterfaceGroupId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_local_gateway_route_table_virtual_interface_group_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_local_gateway_route_table_virtual_interface_group_association <- ec2_create_local_gateway_route_table_virtual_interface_group_association
#' Associates the specified VPC with the specified local gateway route
#' table
#'
#' @description
#' Associates the specified VPC with the specified local gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route_table_vpc_association/](https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route_table_vpc_association/) for full documentation.
#'
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param VpcId [required] The ID of the VPC.
#' @param TagSpecifications The tags to assign to the local gateway route table VPC association.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_local_gateway_route_table_vpc_association
ec2_create_local_gateway_route_table_vpc_association <- function(LocalGatewayRouteTableId, VpcId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateLocalGatewayRouteTableVpcAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_local_gateway_route_table_vpc_association_input(LocalGatewayRouteTableId = LocalGatewayRouteTableId, VpcId = VpcId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_local_gateway_route_table_vpc_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_local_gateway_route_table_vpc_association <- ec2_create_local_gateway_route_table_vpc_association
#' Creates a managed prefix list
#'
#' @description
#' Creates a managed prefix list. You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and an optional description.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_managed_prefix_list/](https://www.paws-r-sdk.com/docs/ec2_create_managed_prefix_list/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PrefixListName [required] A name for the prefix list.
#'
#' Constraints: Up to 255 characters in length. The name cannot start with
#' `com.amazonaws`.
#' @param Entries One or more entries for the prefix list.
#' @param MaxEntries [required] The maximum number of entries for the prefix list.
#' @param TagSpecifications The tags to apply to the prefix list during creation.
#' @param AddressFamily [required] The IP address type.
#'
#' Valid Values: `IPv4` | `IPv6`
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure the idempotency
#' of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' Constraints: Up to 255 UTF-8 characters in length.
#'
#' @keywords internal
#'
#' @rdname ec2_create_managed_prefix_list
ec2_create_managed_prefix_list <- function(DryRun = NULL, PrefixListName, Entries = NULL, MaxEntries, TagSpecifications = NULL, AddressFamily, ClientToken = NULL) {
op <- new_operation(
name = "CreateManagedPrefixList",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_managed_prefix_list_input(DryRun = DryRun, PrefixListName = PrefixListName, Entries = Entries, MaxEntries = MaxEntries, TagSpecifications = TagSpecifications, AddressFamily = AddressFamily, ClientToken = ClientToken)
output <- .ec2$create_managed_prefix_list_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_managed_prefix_list <- ec2_create_managed_prefix_list
#' Creates a NAT gateway in the specified subnet
#'
#' @description
#' Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_nat_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_nat_gateway/) for full documentation.
#'
#' @param AllocationId \[Public NAT gateways only\] The allocation ID of an Elastic IP address
#' to associate with the NAT gateway. You cannot specify an Elastic IP
#' address with a private NAT gateway. If the Elastic IP address is
#' associated with another resource, you must first disassociate it.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' Constraint: Maximum 64 ASCII characters.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SubnetId [required] The ID of the subnet in which to create the NAT gateway.
#' @param TagSpecifications The tags to assign to the NAT gateway.
#' @param ConnectivityType Indicates whether the NAT gateway supports public or private
#' connectivity. The default is public connectivity.
#' @param PrivateIpAddress The private IPv4 address to assign to the NAT gateway. If you don't
#' provide an address, a private IPv4 address will be automatically
#' assigned.
#' @param SecondaryAllocationIds Secondary EIP allocation IDs. For more information, see [Create a NAT
#' gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating)
#' in the *Amazon VPC User Guide*.
#' @param SecondaryPrivateIpAddresses Secondary private IPv4 addresses. For more information about secondary
#' addresses, see [Create a NAT
#' gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating)
#' in the *Amazon VPC User Guide*.
#' @param SecondaryPrivateIpAddressCount \[Private NAT gateway only\] The number of secondary private IPv4
#' addresses you want to assign to the NAT gateway. For more information
#' about secondary addresses, see [Create a NAT
#' gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating)
#' in the *Amazon VPC User Guide*.
#'
#' @keywords internal
#'
#' @rdname ec2_create_nat_gateway
ec2_create_nat_gateway <- function(AllocationId = NULL, ClientToken = NULL, DryRun = NULL, SubnetId, TagSpecifications = NULL, ConnectivityType = NULL, PrivateIpAddress = NULL, SecondaryAllocationIds = NULL, SecondaryPrivateIpAddresses = NULL, SecondaryPrivateIpAddressCount = NULL) {
op <- new_operation(
name = "CreateNatGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_nat_gateway_input(AllocationId = AllocationId, ClientToken = ClientToken, DryRun = DryRun, SubnetId = SubnetId, TagSpecifications = TagSpecifications, ConnectivityType = ConnectivityType, PrivateIpAddress = PrivateIpAddress, SecondaryAllocationIds = SecondaryAllocationIds, SecondaryPrivateIpAddresses = SecondaryPrivateIpAddresses, SecondaryPrivateIpAddressCount = SecondaryPrivateIpAddressCount)
output <- .ec2$create_nat_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_nat_gateway <- ec2_create_nat_gateway
#' Creates a network ACL in a VPC
#'
#' @description
#' Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_network_acl/](https://www.paws-r-sdk.com/docs/ec2_create_network_acl/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcId [required] The ID of the VPC.
#' @param TagSpecifications The tags to assign to the network ACL.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_network_acl
ec2_create_network_acl <- function(DryRun = NULL, VpcId, TagSpecifications = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateNetworkAcl",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_network_acl_input(DryRun = DryRun, VpcId = VpcId, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$create_network_acl_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_network_acl <- ec2_create_network_acl
#' Creates an entry (a rule) in a network ACL with the specified rule
#' number
#'
#' @description
#' Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of ingress rules and a separate set of egress rules.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_network_acl_entry/](https://www.paws-r-sdk.com/docs/ec2_create_network_acl_entry/) for full documentation.
#'
#' @param CidrBlock The IPv4 network range to allow or deny, in CIDR notation (for example
#' `172.16.0.0/24`). We modify the specified CIDR block to its canonical
#' form; for example, if you specify `100.68.0.18/18`, we modify it to
#' `100.68.0.0/18`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Egress [required] Indicates whether this is an egress rule (rule is applied to traffic
#' leaving the subnet).
#' @param IcmpTypeCode ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying
#' protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.
#' @param Ipv6CidrBlock The IPv6 network range to allow or deny, in CIDR notation (for example
#' `2001:db8:1234:1a00::/64`).
#' @param NetworkAclId [required] The ID of the network ACL.
#' @param PortRange TCP or UDP protocols: The range of ports the rule applies to. Required
#' if specifying protocol 6 (TCP) or 17 (UDP).
#' @param Protocol [required] The protocol number. A value of "-1" means all protocols. If you specify
#' "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1"
#' (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP
#' types or codes that you specify. If you specify protocol "58" (ICMPv6)
#' and specify an IPv4 CIDR block, traffic for all ICMP types and codes
#' allowed, regardless of any that you specify. If you specify protocol
#' "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP
#' type and code.
#' @param RuleAction [required] Indicates whether to allow or deny the traffic that matches the rule.
#' @param RuleNumber [required] The rule number for the entry (for example, 100). ACL entries are
#' processed in ascending order by rule number.
#'
#' Constraints: Positive integer from 1 to 32766. The range 32767 to 65535
#' is reserved for internal use.
#'
#' @keywords internal
#'
#' @rdname ec2_create_network_acl_entry
ec2_create_network_acl_entry <- function(CidrBlock = NULL, DryRun = NULL, Egress, IcmpTypeCode = NULL, Ipv6CidrBlock = NULL, NetworkAclId, PortRange = NULL, Protocol, RuleAction, RuleNumber) {
op <- new_operation(
name = "CreateNetworkAclEntry",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_network_acl_entry_input(CidrBlock = CidrBlock, DryRun = DryRun, Egress = Egress, IcmpTypeCode = IcmpTypeCode, Ipv6CidrBlock = Ipv6CidrBlock, NetworkAclId = NetworkAclId, PortRange = PortRange, Protocol = Protocol, RuleAction = RuleAction, RuleNumber = RuleNumber)
output <- .ec2$create_network_acl_entry_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_network_acl_entry <- ec2_create_network_acl_entry
#' Creates a Network Access Scope
#'
#' @description
#' Creates a Network Access Scope.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_network_insights_access_scope/](https://www.paws-r-sdk.com/docs/ec2_create_network_insights_access_scope/) for full documentation.
#'
#' @param MatchPaths The paths to match.
#' @param ExcludePaths The paths to exclude.
#' @param ClientToken [required] Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param TagSpecifications The tags to apply.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_network_insights_access_scope
ec2_create_network_insights_access_scope <- function(MatchPaths = NULL, ExcludePaths = NULL, ClientToken, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateNetworkInsightsAccessScope",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_network_insights_access_scope_input(MatchPaths = MatchPaths, ExcludePaths = ExcludePaths, ClientToken = ClientToken, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_network_insights_access_scope_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_network_insights_access_scope <- ec2_create_network_insights_access_scope
#' Creates a path to analyze for reachability
#'
#' @description
#' Creates a path to analyze for reachability.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_network_insights_path/](https://www.paws-r-sdk.com/docs/ec2_create_network_insights_path/) for full documentation.
#'
#' @param SourceIp The IP address of the source.
#' @param DestinationIp The IP address of the destination.
#' @param Source [required] The ID or ARN of the source. If the resource is in another account, you
#' must specify an ARN.
#' @param Destination The ID or ARN of the destination. If the resource is in another account,
#' you must specify an ARN.
#' @param Protocol [required] The protocol.
#' @param DestinationPort The destination port.
#' @param TagSpecifications The tags to add to the path.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken [required] Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param FilterAtSource Scopes the analysis to network paths that match specific filters at the
#' source. If you specify this parameter, you can't specify the parameters
#' for the source IP address or the destination port.
#' @param FilterAtDestination Scopes the analysis to network paths that match specific filters at the
#' destination. If you specify this parameter, you can't specify the
#' parameter for the destination IP address.
#'
#' @keywords internal
#'
#' @rdname ec2_create_network_insights_path
ec2_create_network_insights_path <- function(SourceIp = NULL, DestinationIp = NULL, Source, Destination = NULL, Protocol, DestinationPort = NULL, TagSpecifications = NULL, DryRun = NULL, ClientToken, FilterAtSource = NULL, FilterAtDestination = NULL) {
op <- new_operation(
name = "CreateNetworkInsightsPath",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_network_insights_path_input(SourceIp = SourceIp, DestinationIp = DestinationIp, Source = Source, Destination = Destination, Protocol = Protocol, DestinationPort = DestinationPort, TagSpecifications = TagSpecifications, DryRun = DryRun, ClientToken = ClientToken, FilterAtSource = FilterAtSource, FilterAtDestination = FilterAtDestination)
output <- .ec2$create_network_insights_path_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_network_insights_path <- ec2_create_network_insights_path
#' Creates a network interface in the specified subnet
#'
#' @description
#' Creates a network interface in the specified subnet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_network_interface/](https://www.paws-r-sdk.com/docs/ec2_create_network_interface/) for full documentation.
#'
#' @param Description A description for the network interface.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Groups The IDs of one or more security groups.
#' @param Ipv6AddressCount The number of IPv6 addresses to assign to a network interface. Amazon
#' EC2 automatically selects the IPv6 addresses from the subnet range.
#'
#' You can't specify a count of IPv6 addresses using this parameter if
#' you've specified one of the following: specific IPv6 addresses, specific
#' IPv6 prefixes, or a count of IPv6 prefixes.
#'
#' If your subnet has the `AssignIpv6AddressOnCreation` attribute set, you
#' can override that setting by specifying 0 as the IPv6 address count.
#' @param Ipv6Addresses The IPv6 addresses from the IPv6 CIDR block range of your subnet.
#'
#' You can't specify IPv6 addresses using this parameter if you've
#' specified one of the following: a count of IPv6 addresses, specific IPv6
#' prefixes, or a count of IPv6 prefixes.
#' @param PrivateIpAddress The primary private IPv4 address of the network interface. If you don't
#' specify an IPv4 address, Amazon EC2 selects one for you from the
#' subnet's IPv4 CIDR range. If you specify an IP address, you cannot
#' indicate any IP addresses specified in `privateIpAddresses` as primary
#' (only one IP address can be designated as primary).
#' @param PrivateIpAddresses The private IPv4 addresses.
#'
#' You can't specify private IPv4 addresses if you've specified one of the
#' following: a count of private IPv4 addresses, specific IPv4 prefixes, or
#' a count of IPv4 prefixes.
#' @param SecondaryPrivateIpAddressCount The number of secondary private IPv4 addresses to assign to a network
#' interface. When you specify a number of secondary IPv4 addresses, Amazon
#' EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You
#' can't specify this option and specify more than one private IP address
#' using `privateIpAddresses`.
#'
#' You can't specify a count of private IPv4 addresses if you've specified
#' one of the following: specific private IPv4 addresses, specific IPv4
#' prefixes, or a count of IPv4 prefixes.
#' @param Ipv4Prefixes The IPv4 prefixes assigned to the network interface.
#'
#' You can't specify IPv4 prefixes if you've specified one of the
#' following: a count of IPv4 prefixes, specific private IPv4 addresses, or
#' a count of private IPv4 addresses.
#' @param Ipv4PrefixCount The number of IPv4 prefixes that Amazon Web Services automatically
#' assigns to the network interface.
#'
#' You can't specify a count of IPv4 prefixes if you've specified one of
#' the following: specific IPv4 prefixes, specific private IPv4 addresses,
#' or a count of private IPv4 addresses.
#' @param Ipv6Prefixes The IPv6 prefixes assigned to the network interface.
#'
#' You can't specify IPv6 prefixes if you've specified one of the
#' following: a count of IPv6 prefixes, specific IPv6 addresses, or a count
#' of IPv6 addresses.
#' @param Ipv6PrefixCount The number of IPv6 prefixes that Amazon Web Services automatically
#' assigns to the network interface.
#'
#' You can't specify a count of IPv6 prefixes if you've specified one of
#' the following: specific IPv6 prefixes, specific IPv6 addresses, or a
#' count of IPv6 addresses.
#' @param InterfaceType The type of network interface. The default is `interface`.
#'
#' The only supported values are `interface`, `efa`, and `trunk`.
#' @param SubnetId [required] The ID of the subnet to associate with the network interface.
#' @param TagSpecifications The tags to apply to the new network interface.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param EnablePrimaryIpv6 If you’re creating a network interface in a dual-stack or IPv6-only
#' subnet, you have the option to assign a primary IPv6 IP address. A
#' primary IPv6 address is an IPv6 GUA address associated with an ENI that
#' you have enabled to use a primary IPv6 address. Use this option if the
#' instance that this ENI will be attached to relies on its IPv6 address
#' not changing. Amazon Web Services will automatically assign an IPv6
#' address associated with the ENI attached to your instance to be the
#' primary IPv6 address. Once you enable an IPv6 GUA address to be a
#' primary IPv6, you cannot disable it. When you enable an IPv6 GUA address
#' to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6
#' address until the instance is terminated or the network interface is
#' detached. If you have multiple IPv6 addresses associated with an ENI
#' attached to your instance and you enable a primary IPv6 address, the
#' first IPv6 GUA address associated with the ENI becomes the primary IPv6
#' address.
#' @param ConnectionTrackingSpecification A connection tracking specification for the network interface.
#'
#' @keywords internal
#'
#' @rdname ec2_create_network_interface
ec2_create_network_interface <- function(Description = NULL, DryRun = NULL, Groups = NULL, Ipv6AddressCount = NULL, Ipv6Addresses = NULL, PrivateIpAddress = NULL, PrivateIpAddresses = NULL, SecondaryPrivateIpAddressCount = NULL, Ipv4Prefixes = NULL, Ipv4PrefixCount = NULL, Ipv6Prefixes = NULL, Ipv6PrefixCount = NULL, InterfaceType = NULL, SubnetId, TagSpecifications = NULL, ClientToken = NULL, EnablePrimaryIpv6 = NULL, ConnectionTrackingSpecification = NULL) {
op <- new_operation(
name = "CreateNetworkInterface",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_network_interface_input(Description = Description, DryRun = DryRun, Groups = Groups, Ipv6AddressCount = Ipv6AddressCount, Ipv6Addresses = Ipv6Addresses, PrivateIpAddress = PrivateIpAddress, PrivateIpAddresses = PrivateIpAddresses, SecondaryPrivateIpAddressCount = SecondaryPrivateIpAddressCount, Ipv4Prefixes = Ipv4Prefixes, Ipv4PrefixCount = Ipv4PrefixCount, Ipv6Prefixes = Ipv6Prefixes, Ipv6PrefixCount = Ipv6PrefixCount, InterfaceType = InterfaceType, SubnetId = SubnetId, TagSpecifications = TagSpecifications, ClientToken = ClientToken, EnablePrimaryIpv6 = EnablePrimaryIpv6, ConnectionTrackingSpecification = ConnectionTrackingSpecification)
output <- .ec2$create_network_interface_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_network_interface <- ec2_create_network_interface
#' Grants an Amazon Web Services-authorized account permission to attach
#' the specified network interface to an instance in their account
#'
#' @description
#' Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_network_interface_permission/](https://www.paws-r-sdk.com/docs/ec2_create_network_interface_permission/) for full documentation.
#'
#' @param NetworkInterfaceId [required] The ID of the network interface.
#' @param AwsAccountId The Amazon Web Services account ID.
#' @param AwsService The Amazon Web Service. Currently not supported.
#' @param Permission [required] The type of permission to grant.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_network_interface_permission
ec2_create_network_interface_permission <- function(NetworkInterfaceId, AwsAccountId = NULL, AwsService = NULL, Permission, DryRun = NULL) {
op <- new_operation(
name = "CreateNetworkInterfacePermission",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_network_interface_permission_input(NetworkInterfaceId = NetworkInterfaceId, AwsAccountId = AwsAccountId, AwsService = AwsService, Permission = Permission, DryRun = DryRun)
output <- .ec2$create_network_interface_permission_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_network_interface_permission <- ec2_create_network_interface_permission
#' Creates a placement group in which to launch instances
#'
#' @description
#' Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_placement_group/](https://www.paws-r-sdk.com/docs/ec2_create_placement_group/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupName A name for the placement group. Must be unique within the scope of your
#' account for the Region.
#'
#' Constraints: Up to 255 ASCII characters
#' @param Strategy The placement strategy.
#' @param PartitionCount The number of partitions. Valid only when **Strategy** is set to
#' `partition`.
#' @param TagSpecifications The tags to apply to the new placement group.
#' @param SpreadLevel Determines how placement groups spread instances.
#'
#' - Host – You can use `host` only with Outpost placement groups.
#'
#' - Rack – No usage restrictions.
#'
#' @keywords internal
#'
#' @rdname ec2_create_placement_group
ec2_create_placement_group <- function(DryRun = NULL, GroupName = NULL, Strategy = NULL, PartitionCount = NULL, TagSpecifications = NULL, SpreadLevel = NULL) {
op <- new_operation(
name = "CreatePlacementGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_placement_group_input(DryRun = DryRun, GroupName = GroupName, Strategy = Strategy, PartitionCount = PartitionCount, TagSpecifications = TagSpecifications, SpreadLevel = SpreadLevel)
output <- .ec2$create_placement_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_placement_group <- ec2_create_placement_group
#' Creates a public IPv4 address pool
#'
#' @description
#' Creates a public IPv4 address pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only. To monitor the status of pool creation, use [`describe_public_ipv_4_pools`][ec2_describe_public_ipv_4_pools].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_public_ipv_4_pool/](https://www.paws-r-sdk.com/docs/ec2_create_public_ipv_4_pool/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The key/value combination of a tag assigned to the resource. Use the tag
#' key in the filter name and the tag value as the filter value. For
#' example, to find all resources that have a tag with the key `Owner` and
#' the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA`
#' for the filter value.
#'
#' @keywords internal
#'
#' @rdname ec2_create_public_ipv_4_pool
ec2_create_public_ipv_4_pool <- function(DryRun = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreatePublicIpv4Pool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_public_ipv_4_pool_input(DryRun = DryRun, TagSpecifications = TagSpecifications)
output <- .ec2$create_public_ipv_4_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_public_ipv_4_pool <- ec2_create_public_ipv_4_pool
#' Replaces the EBS-backed root volume for a running instance with a new
#' volume that is restored to the original root volume's launch state, that
#' is restored to a specific snapshot taken from the original root volume,
#' or that is restored from an AMI that has the same key characteristics as
#' that of the instance
#'
#' @description
#' Replaces the EBS-backed root volume for a `running` instance with a new volume that is restored to the original root volume's launch state, that is restored to a specific snapshot taken from the original root volume, or that is restored from an AMI that has the same key characteristics as that of the instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_replace_root_volume_task/](https://www.paws-r-sdk.com/docs/ec2_create_replace_root_volume_task/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance for which to replace the root volume.
#' @param SnapshotId The ID of the snapshot from which to restore the replacement root
#' volume. The specified snapshot must be a snapshot that you previously
#' created from the original root volume.
#'
#' If you want to restore the replacement root volume to the initial launch
#' state, or if you want to restore the replacement root volume from an
#' AMI, omit this parameter.
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure the idempotency
#' of the request. If you do not specify a client token, a randomly
#' generated token is used for the request to ensure idempotency. For more
#' information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to apply to the root volume replacement task.
#' @param ImageId The ID of the AMI to use to restore the root volume. The specified AMI
#' must have the same product code, billing information, architecture type,
#' and virtualization type as that of the instance.
#'
#' If you want to restore the replacement volume from a specific snapshot,
#' or if you want to restore it to its launch state, omit this parameter.
#' @param DeleteReplacedRootVolume Indicates whether to automatically delete the original root volume after
#' the root volume replacement task completes. To delete the original root
#' volume, specify `true`. If you choose to keep the original root volume
#' after the replacement task completes, you must manually delete it when
#' you no longer need it.
#'
#' @keywords internal
#'
#' @rdname ec2_create_replace_root_volume_task
ec2_create_replace_root_volume_task <- function(InstanceId, SnapshotId = NULL, ClientToken = NULL, DryRun = NULL, TagSpecifications = NULL, ImageId = NULL, DeleteReplacedRootVolume = NULL) {
op <- new_operation(
name = "CreateReplaceRootVolumeTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_replace_root_volume_task_input(InstanceId = InstanceId, SnapshotId = SnapshotId, ClientToken = ClientToken, DryRun = DryRun, TagSpecifications = TagSpecifications, ImageId = ImageId, DeleteReplacedRootVolume = DeleteReplacedRootVolume)
output <- .ec2$create_replace_root_volume_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_replace_root_volume_task <- ec2_create_replace_root_volume_task
#' Creates a listing for Amazon EC2 Standard Reserved Instances to be sold
#' in the Reserved Instance Marketplace
#'
#' @description
#' Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your Standard Reserved Instances, you can use the [`describe_reserved_instances`][ec2_describe_reserved_instances] operation.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_reserved_instances_listing/](https://www.paws-r-sdk.com/docs/ec2_create_reserved_instances_listing/) for full documentation.
#'
#' @param ClientToken [required] Unique, case-sensitive identifier you provide to ensure idempotency of
#' your listings. This helps avoid duplicate listings. For more
#' information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param InstanceCount [required] The number of instances that are a part of a Reserved Instance account
#' to be listed in the Reserved Instance Marketplace. This number should be
#' less than or equal to the instance count associated with the Reserved
#' Instance ID specified in this call.
#' @param PriceSchedules [required] A list specifying the price of the Standard Reserved Instance for each
#' month remaining in the Reserved Instance term.
#' @param ReservedInstancesId [required] The ID of the active Standard Reserved Instance.
#'
#' @keywords internal
#'
#' @rdname ec2_create_reserved_instances_listing
ec2_create_reserved_instances_listing <- function(ClientToken, InstanceCount, PriceSchedules, ReservedInstancesId) {
op <- new_operation(
name = "CreateReservedInstancesListing",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_reserved_instances_listing_input(ClientToken = ClientToken, InstanceCount = InstanceCount, PriceSchedules = PriceSchedules, ReservedInstancesId = ReservedInstancesId)
output <- .ec2$create_reserved_instances_listing_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_reserved_instances_listing <- ec2_create_reserved_instances_listing
#' Starts a task that restores an AMI from an Amazon S3 object that was
#' previously created by using CreateStoreImageTask
#'
#' @description
#' Starts a task that restores an AMI from an Amazon S3 object that was previously created by using [`create_store_image_task`][ec2_create_store_image_task].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_restore_image_task/](https://www.paws-r-sdk.com/docs/ec2_create_restore_image_task/) for full documentation.
#'
#' @param Bucket [required] The name of the Amazon S3 bucket that contains the stored AMI object.
#' @param ObjectKey [required] The name of the stored AMI object in the bucket.
#' @param Name The name for the restored AMI. The name must be unique for AMIs in the
#' Region for this account. If you do not provide a name, the new AMI gets
#' the same name as the original AMI.
#' @param TagSpecifications The tags to apply to the AMI and snapshots on restoration. You can tag
#' the AMI, the snapshots, or both.
#'
#' - To tag the AMI, the value for `ResourceType` must be `image`.
#'
#' - To tag the snapshots, the value for `ResourceType` must be
#' `snapshot`. The same tag is applied to all of the snapshots that are
#' created.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_restore_image_task
ec2_create_restore_image_task <- function(Bucket, ObjectKey, Name = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateRestoreImageTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_restore_image_task_input(Bucket = Bucket, ObjectKey = ObjectKey, Name = Name, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_restore_image_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_restore_image_task <- ec2_create_restore_image_task
#' Creates a route in a route table within a VPC
#'
#' @description
#' Creates a route in a route table within a VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_route/](https://www.paws-r-sdk.com/docs/ec2_create_route/) for full documentation.
#'
#' @param DestinationCidrBlock The IPv4 CIDR address block used for the destination match. Routing
#' decisions are based on the most specific match. We modify the specified
#' CIDR block to its canonical form; for example, if you specify
#' `100.68.0.18/18`, we modify it to `100.68.0.0/18`.
#' @param DestinationIpv6CidrBlock The IPv6 CIDR block used for the destination match. Routing decisions
#' are based on the most specific match.
#' @param DestinationPrefixListId The ID of a prefix list used for the destination match.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcEndpointId The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints
#' only.
#' @param EgressOnlyInternetGatewayId \[IPv6 traffic only\] The ID of an egress-only internet gateway.
#' @param GatewayId The ID of an internet gateway or virtual private gateway attached to
#' your VPC.
#' @param InstanceId The ID of a NAT instance in your VPC. The operation fails if you specify
#' an instance ID unless exactly one network interface is attached.
#' @param NatGatewayId \[IPv4 traffic only\] The ID of a NAT gateway.
#' @param TransitGatewayId The ID of a transit gateway.
#' @param LocalGatewayId The ID of the local gateway.
#' @param CarrierGatewayId The ID of the carrier gateway.
#'
#' You can only use this option when the VPC contains a subnet which is
#' associated with a Wavelength Zone.
#' @param NetworkInterfaceId The ID of a network interface.
#' @param RouteTableId [required] The ID of the route table for the route.
#' @param VpcPeeringConnectionId The ID of a VPC peering connection.
#' @param CoreNetworkArn The Amazon Resource Name (ARN) of the core network.
#'
#' @keywords internal
#'
#' @rdname ec2_create_route
ec2_create_route <- function(DestinationCidrBlock = NULL, DestinationIpv6CidrBlock = NULL, DestinationPrefixListId = NULL, DryRun = NULL, VpcEndpointId = NULL, EgressOnlyInternetGatewayId = NULL, GatewayId = NULL, InstanceId = NULL, NatGatewayId = NULL, TransitGatewayId = NULL, LocalGatewayId = NULL, CarrierGatewayId = NULL, NetworkInterfaceId = NULL, RouteTableId, VpcPeeringConnectionId = NULL, CoreNetworkArn = NULL) {
op <- new_operation(
name = "CreateRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_route_input(DestinationCidrBlock = DestinationCidrBlock, DestinationIpv6CidrBlock = DestinationIpv6CidrBlock, DestinationPrefixListId = DestinationPrefixListId, DryRun = DryRun, VpcEndpointId = VpcEndpointId, EgressOnlyInternetGatewayId = EgressOnlyInternetGatewayId, GatewayId = GatewayId, InstanceId = InstanceId, NatGatewayId = NatGatewayId, TransitGatewayId = TransitGatewayId, LocalGatewayId = LocalGatewayId, CarrierGatewayId = CarrierGatewayId, NetworkInterfaceId = NetworkInterfaceId, RouteTableId = RouteTableId, VpcPeeringConnectionId = VpcPeeringConnectionId, CoreNetworkArn = CoreNetworkArn)
output <- .ec2$create_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_route <- ec2_create_route
#' Creates a route table for the specified VPC
#'
#' @description
#' Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_route_table/](https://www.paws-r-sdk.com/docs/ec2_create_route_table/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcId [required] The ID of the VPC.
#' @param TagSpecifications The tags to assign to the route table.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_route_table
ec2_create_route_table <- function(DryRun = NULL, VpcId, TagSpecifications = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_route_table_input(DryRun = DryRun, VpcId = VpcId, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$create_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_route_table <- ec2_create_route_table
#' Creates a security group
#'
#' @description
#' Creates a security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_security_group/](https://www.paws-r-sdk.com/docs/ec2_create_security_group/) for full documentation.
#'
#' @param Description [required] A description for the security group.
#'
#' Constraints: Up to 255 characters in length
#'
#' Valid characters: a-z, A-Z, 0-9, spaces, and
#' ._-:/()#,@@\[\]+=&;\{\}!$*
#' @param GroupName [required] The name of the security group.
#'
#' Constraints: Up to 255 characters in length. Cannot start with `sg-`.
#'
#' Valid characters: a-z, A-Z, 0-9, spaces, and
#' ._-:/()#,@@\[\]+=&;\{\}!$*
#' @param VpcId The ID of the VPC. Required for a nondefault VPC.
#' @param TagSpecifications The tags to assign to the security group.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_security_group
ec2_create_security_group <- function(Description, GroupName, VpcId = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateSecurityGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_security_group_input(Description = Description, GroupName = GroupName, VpcId = VpcId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_security_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_security_group <- ec2_create_security_group
#' Creates a snapshot of an EBS volume and stores it in Amazon S3
#'
#' @description
#' Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_snapshot/](https://www.paws-r-sdk.com/docs/ec2_create_snapshot/) for full documentation.
#'
#' @param Description A description for the snapshot.
#' @param OutpostArn The Amazon Resource Name (ARN) of the Outpost on which to create a local
#' snapshot.
#'
#' - To create a snapshot of a volume in a Region, omit this parameter.
#' The snapshot is created in the same Region as the volume.
#'
#' - To create a snapshot of a volume on an Outpost and store the
#' snapshot in the Region, omit this parameter. The snapshot is created
#' in the Region for the Outpost.
#'
#' - To create a snapshot of a volume on an Outpost and store the
#' snapshot on an Outpost, specify the ARN of the destination Outpost.
#' The snapshot must be created on the same Outpost as the volume.
#'
#' For more information, see [Create local snapshots from volumes on an
#' Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot)
#' in the *Amazon EBS User Guide*.
#' @param VolumeId [required] The ID of the Amazon EBS volume.
#' @param TagSpecifications The tags to apply to the snapshot during creation.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_snapshot
ec2_create_snapshot <- function(Description = NULL, OutpostArn = NULL, VolumeId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateSnapshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_snapshot_input(Description = Description, OutpostArn = OutpostArn, VolumeId = VolumeId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_snapshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_snapshot <- ec2_create_snapshot
#' Creates crash-consistent snapshots of multiple EBS volumes and stores
#' the data in S3
#'
#' @description
#' Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3. Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot each that is crash-consistent across the instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_snapshots/](https://www.paws-r-sdk.com/docs/ec2_create_snapshots/) for full documentation.
#'
#' @param Description A description propagated to every snapshot specified by the instance.
#' @param InstanceSpecification [required] The instance to specify which volumes should be included in the
#' snapshots.
#' @param OutpostArn The Amazon Resource Name (ARN) of the Outpost on which to create the
#' local snapshots.
#'
#' - To create snapshots from an instance in a Region, omit this
#' parameter. The snapshots are created in the same Region as the
#' instance.
#'
#' - To create snapshots from an instance on an Outpost and store the
#' snapshots in the Region, omit this parameter. The snapshots are
#' created in the Region for the Outpost.
#'
#' - To create snapshots from an instance on an Outpost and store the
#' snapshots on an Outpost, specify the ARN of the destination Outpost.
#' The snapshots must be created on the same Outpost as the instance.
#'
#' For more information, see [Create multi-volume local snapshots from
#' instances on an
#' Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-multivol-snapshot)
#' in the *Amazon EBS User Guide*.
#' @param TagSpecifications Tags to apply to every snapshot specified by the instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param CopyTagsFromSource Copies the tags from the specified volume to corresponding snapshot.
#'
#' @keywords internal
#'
#' @rdname ec2_create_snapshots
ec2_create_snapshots <- function(Description = NULL, InstanceSpecification, OutpostArn = NULL, TagSpecifications = NULL, DryRun = NULL, CopyTagsFromSource = NULL) {
op <- new_operation(
name = "CreateSnapshots",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_snapshots_input(Description = Description, InstanceSpecification = InstanceSpecification, OutpostArn = OutpostArn, TagSpecifications = TagSpecifications, DryRun = DryRun, CopyTagsFromSource = CopyTagsFromSource)
output <- .ec2$create_snapshots_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_snapshots <- ec2_create_snapshots
#' Creates a data feed for Spot Instances, enabling you to view Spot
#' Instance usage logs
#'
#' @description
#' Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per Amazon Web Services account. For more information, see [Spot Instance data feed](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html) in the *Amazon EC2 User Guide for Linux Instances*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_spot_datafeed_subscription/](https://www.paws-r-sdk.com/docs/ec2_create_spot_datafeed_subscription/) for full documentation.
#'
#' @param Bucket [required] The name of the Amazon S3 bucket in which to store the Spot Instance
#' data feed. For more information about bucket names, see [Rules for
#' bucket
#' naming](https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules)
#' in the *Amazon S3 Developer Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Prefix The prefix for the data feed file names.
#'
#' @keywords internal
#'
#' @rdname ec2_create_spot_datafeed_subscription
ec2_create_spot_datafeed_subscription <- function(Bucket, DryRun = NULL, Prefix = NULL) {
op <- new_operation(
name = "CreateSpotDatafeedSubscription",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_spot_datafeed_subscription_input(Bucket = Bucket, DryRun = DryRun, Prefix = Prefix)
output <- .ec2$create_spot_datafeed_subscription_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_spot_datafeed_subscription <- ec2_create_spot_datafeed_subscription
#' Stores an AMI as a single object in an Amazon S3 bucket
#'
#' @description
#' Stores an AMI as a single object in an Amazon S3 bucket.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_store_image_task/](https://www.paws-r-sdk.com/docs/ec2_create_store_image_task/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param Bucket [required] The name of the Amazon S3 bucket in which the AMI object will be stored.
#' The bucket must be in the Region in which the request is being made. The
#' AMI object appears in the bucket only after the upload task has
#' completed.
#' @param S3ObjectTags The tags to apply to the AMI object that will be stored in the Amazon S3
#' bucket.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_store_image_task
ec2_create_store_image_task <- function(ImageId, Bucket, S3ObjectTags = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateStoreImageTask",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_store_image_task_input(ImageId = ImageId, Bucket = Bucket, S3ObjectTags = S3ObjectTags, DryRun = DryRun)
output <- .ec2$create_store_image_task_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_store_image_task <- ec2_create_store_image_task
#' Creates a subnet in the specified VPC
#'
#' @description
#' Creates a subnet in the specified VPC. For an IPv4 only subnet, specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_subnet/](https://www.paws-r-sdk.com/docs/ec2_create_subnet/) for full documentation.
#'
#' @param TagSpecifications The tags to assign to the subnet.
#' @param AvailabilityZone The Availability Zone or Local Zone for the subnet.
#'
#' Default: Amazon Web Services selects one for you. If you create more
#' than one subnet in your VPC, we do not necessarily select a different
#' zone for each subnet.
#'
#' To create a subnet in a Local Zone, set this value to the Local Zone ID,
#' for example `us-west-2-lax-1a`. For information about the Regions that
#' support Local Zones, see [Local Zones
#' locations](https://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/).
#'
#' To create a subnet in an Outpost, set this value to the Availability
#' Zone for the Outpost and specify the Outpost ARN.
#' @param AvailabilityZoneId The AZ ID or the Local Zone ID of the subnet.
#' @param CidrBlock The IPv4 network range for the subnet, in CIDR notation. For example,
#' `10.0.0.0/24`. We modify the specified CIDR block to its canonical form;
#' for example, if you specify `100.68.0.18/18`, we modify it to
#' `100.68.0.0/18`.
#'
#' This parameter is not supported for an IPv6 only subnet.
#' @param Ipv6CidrBlock The IPv6 network range for the subnet, in CIDR notation. This parameter
#' is required for an IPv6 only subnet.
#' @param OutpostArn The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost
#' ARN, you must also specify the Availability Zone of the Outpost subnet.
#' @param VpcId [required] The ID of the VPC.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Ipv6Native Indicates whether to create an IPv6 only subnet.
#' @param Ipv4IpamPoolId An IPv4 IPAM pool ID for the subnet.
#' @param Ipv4NetmaskLength An IPv4 netmask length for the subnet.
#' @param Ipv6IpamPoolId An IPv6 IPAM pool ID for the subnet.
#' @param Ipv6NetmaskLength An IPv6 netmask length for the subnet.
#'
#' @keywords internal
#'
#' @rdname ec2_create_subnet
ec2_create_subnet <- function(TagSpecifications = NULL, AvailabilityZone = NULL, AvailabilityZoneId = NULL, CidrBlock = NULL, Ipv6CidrBlock = NULL, OutpostArn = NULL, VpcId, DryRun = NULL, Ipv6Native = NULL, Ipv4IpamPoolId = NULL, Ipv4NetmaskLength = NULL, Ipv6IpamPoolId = NULL, Ipv6NetmaskLength = NULL) {
op <- new_operation(
name = "CreateSubnet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_subnet_input(TagSpecifications = TagSpecifications, AvailabilityZone = AvailabilityZone, AvailabilityZoneId = AvailabilityZoneId, CidrBlock = CidrBlock, Ipv6CidrBlock = Ipv6CidrBlock, OutpostArn = OutpostArn, VpcId = VpcId, DryRun = DryRun, Ipv6Native = Ipv6Native, Ipv4IpamPoolId = Ipv4IpamPoolId, Ipv4NetmaskLength = Ipv4NetmaskLength, Ipv6IpamPoolId = Ipv6IpamPoolId, Ipv6NetmaskLength = Ipv6NetmaskLength)
output <- .ec2$create_subnet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_subnet <- ec2_create_subnet
#' Creates a subnet CIDR reservation
#'
#' @description
#' Creates a subnet CIDR reservation. For more information, see [Subnet CIDR reservations](https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html) in the *Amazon Virtual Private Cloud User Guide* and [Assign prefixes to network interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_subnet_cidr_reservation/](https://www.paws-r-sdk.com/docs/ec2_create_subnet_cidr_reservation/) for full documentation.
#'
#' @param SubnetId [required] The ID of the subnet.
#' @param Cidr [required] The IPv4 or IPV6 CIDR range to reserve.
#' @param ReservationType [required] The type of reservation. The reservation type determines how the
#' reserved IP addresses are assigned to resources.
#'
#' - `prefix` - Amazon Web Services assigns the reserved IP addresses to
#' network interfaces.
#'
#' - `explicit` - You assign the reserved IP addresses to network
#' interfaces.
#' @param Description The description to assign to the subnet CIDR reservation.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to assign to the subnet CIDR reservation.
#'
#' @keywords internal
#'
#' @rdname ec2_create_subnet_cidr_reservation
ec2_create_subnet_cidr_reservation <- function(SubnetId, Cidr, ReservationType, Description = NULL, DryRun = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateSubnetCidrReservation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_subnet_cidr_reservation_input(SubnetId = SubnetId, Cidr = Cidr, ReservationType = ReservationType, Description = Description, DryRun = DryRun, TagSpecifications = TagSpecifications)
output <- .ec2$create_subnet_cidr_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_subnet_cidr_reservation <- ec2_create_subnet_cidr_reservation
#' Adds or overwrites only the specified tags for the specified Amazon EC2
#' resource or resources
#'
#' @description
#' Adds or overwrites only the specified tags for the specified Amazon EC2 resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_tags/](https://www.paws-r-sdk.com/docs/ec2_create_tags/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Resources [required] The IDs of the resources, separated by spaces.
#'
#' Constraints: Up to 1000 resource IDs. We recommend breaking up this
#' request into smaller batches.
#' @param Tags [required] The tags. The `value` parameter is required, but if you don't want the
#' tag to have a value, specify the parameter with no value, and we set the
#' value to an empty string.
#'
#' @keywords internal
#'
#' @rdname ec2_create_tags
ec2_create_tags <- function(DryRun = NULL, Resources, Tags) {
op <- new_operation(
name = "CreateTags",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_tags_input(DryRun = DryRun, Resources = Resources, Tags = Tags)
output <- .ec2$create_tags_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_tags <- ec2_create_tags
#' Creates a Traffic Mirror filter
#'
#' @description
#' Creates a Traffic Mirror filter.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_filter/](https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_filter/) for full documentation.
#'
#' @param Description The description of the Traffic Mirror filter.
#' @param TagSpecifications The tags to assign to a Traffic Mirror filter.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_traffic_mirror_filter
ec2_create_traffic_mirror_filter <- function(Description = NULL, TagSpecifications = NULL, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateTrafficMirrorFilter",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_traffic_mirror_filter_input(Description = Description, TagSpecifications = TagSpecifications, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$create_traffic_mirror_filter_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_traffic_mirror_filter <- ec2_create_traffic_mirror_filter
#' Creates a Traffic Mirror filter rule
#'
#' @description
#' Creates a Traffic Mirror filter rule.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_filter_rule/](https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_filter_rule/) for full documentation.
#'
#' @param TrafficMirrorFilterId [required] The ID of the filter that this rule is associated with.
#' @param TrafficDirection [required] The type of traffic.
#' @param RuleNumber [required] The number of the Traffic Mirror rule. This number must be unique for
#' each Traffic Mirror rule in a given direction. The rules are processed
#' in ascending order by rule number.
#' @param RuleAction [required] The action to take on the filtered traffic.
#' @param DestinationPortRange The destination port range.
#' @param SourcePortRange The source port range.
#' @param Protocol The protocol, for example UDP, to assign to the Traffic Mirror rule.
#'
#' For information about the protocol value, see [Protocol
#' Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
#' on the Internet Assigned Numbers Authority (IANA) website.
#' @param DestinationCidrBlock [required] The destination CIDR block to assign to the Traffic Mirror rule.
#' @param SourceCidrBlock [required] The source CIDR block to assign to the Traffic Mirror rule.
#' @param Description The description of the Traffic Mirror rule.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_traffic_mirror_filter_rule
ec2_create_traffic_mirror_filter_rule <- function(TrafficMirrorFilterId, TrafficDirection, RuleNumber, RuleAction, DestinationPortRange = NULL, SourcePortRange = NULL, Protocol = NULL, DestinationCidrBlock, SourceCidrBlock, Description = NULL, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateTrafficMirrorFilterRule",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_traffic_mirror_filter_rule_input(TrafficMirrorFilterId = TrafficMirrorFilterId, TrafficDirection = TrafficDirection, RuleNumber = RuleNumber, RuleAction = RuleAction, DestinationPortRange = DestinationPortRange, SourcePortRange = SourcePortRange, Protocol = Protocol, DestinationCidrBlock = DestinationCidrBlock, SourceCidrBlock = SourceCidrBlock, Description = Description, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$create_traffic_mirror_filter_rule_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_traffic_mirror_filter_rule <- ec2_create_traffic_mirror_filter_rule
#' Creates a Traffic Mirror session
#'
#' @description
#' Creates a Traffic Mirror session.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_session/](https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_session/) for full documentation.
#'
#' @param NetworkInterfaceId [required] The ID of the source network interface.
#' @param TrafficMirrorTargetId [required] The ID of the Traffic Mirror target.
#' @param TrafficMirrorFilterId [required] The ID of the Traffic Mirror filter.
#' @param PacketLength The number of bytes in each packet to mirror. These are bytes after the
#' VXLAN header. Do not specify this parameter when you want to mirror the
#' entire packet. To mirror a subset of the packet, set this to the length
#' (in bytes) that you want to mirror. For example, if you set this value
#' to 100, then the first 100 bytes that meet the filter criteria are
#' copied to the target.
#'
#' If you do not want to mirror the entire packet, use the `PacketLength`
#' parameter to specify the number of bytes in each packet to mirror.
#'
#' For sessions with Network Load Balancer (NLB) Traffic Mirror targets the
#' default `PacketLength` will be set to 8500. Valid values are 1-8500.
#' Setting a `PacketLength` greater than 8500 will result in an error
#' response.
#' @param SessionNumber [required] The session number determines the order in which sessions are evaluated
#' when an interface is used by multiple sessions. The first session with a
#' matching filter is the one that mirrors the packets.
#'
#' Valid values are 1-32766.
#' @param VirtualNetworkId The VXLAN ID for the Traffic Mirror session. For more information about
#' the VXLAN protocol, see [RFC
#' 7348](https://datatracker.ietf.org/doc/html/rfc7348). If you do not
#' specify a `VirtualNetworkId`, an account-wide unique id is chosen at
#' random.
#' @param Description The description of the Traffic Mirror session.
#' @param TagSpecifications The tags to assign to a Traffic Mirror session.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_traffic_mirror_session
ec2_create_traffic_mirror_session <- function(NetworkInterfaceId, TrafficMirrorTargetId, TrafficMirrorFilterId, PacketLength = NULL, SessionNumber, VirtualNetworkId = NULL, Description = NULL, TagSpecifications = NULL, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateTrafficMirrorSession",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_traffic_mirror_session_input(NetworkInterfaceId = NetworkInterfaceId, TrafficMirrorTargetId = TrafficMirrorTargetId, TrafficMirrorFilterId = TrafficMirrorFilterId, PacketLength = PacketLength, SessionNumber = SessionNumber, VirtualNetworkId = VirtualNetworkId, Description = Description, TagSpecifications = TagSpecifications, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$create_traffic_mirror_session_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_traffic_mirror_session <- ec2_create_traffic_mirror_session
#' Creates a target for your Traffic Mirror session
#'
#' @description
#' Creates a target for your Traffic Mirror session.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_target/](https://www.paws-r-sdk.com/docs/ec2_create_traffic_mirror_target/) for full documentation.
#'
#' @param NetworkInterfaceId The network interface ID that is associated with the target.
#' @param NetworkLoadBalancerArn The Amazon Resource Name (ARN) of the Network Load Balancer that is
#' associated with the target.
#' @param Description The description of the Traffic Mirror target.
#' @param TagSpecifications The tags to assign to the Traffic Mirror target.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param GatewayLoadBalancerEndpointId The ID of the Gateway Load Balancer endpoint.
#'
#' @keywords internal
#'
#' @rdname ec2_create_traffic_mirror_target
ec2_create_traffic_mirror_target <- function(NetworkInterfaceId = NULL, NetworkLoadBalancerArn = NULL, Description = NULL, TagSpecifications = NULL, DryRun = NULL, ClientToken = NULL, GatewayLoadBalancerEndpointId = NULL) {
op <- new_operation(
name = "CreateTrafficMirrorTarget",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_traffic_mirror_target_input(NetworkInterfaceId = NetworkInterfaceId, NetworkLoadBalancerArn = NetworkLoadBalancerArn, Description = Description, TagSpecifications = TagSpecifications, DryRun = DryRun, ClientToken = ClientToken, GatewayLoadBalancerEndpointId = GatewayLoadBalancerEndpointId)
output <- .ec2$create_traffic_mirror_target_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_traffic_mirror_target <- ec2_create_traffic_mirror_target
#' Creates a transit gateway
#'
#' @description
#' Creates a transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway/) for full documentation.
#'
#' @param Description A description of the transit gateway.
#' @param Options The transit gateway options.
#' @param TagSpecifications The tags to apply to the transit gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway
ec2_create_transit_gateway <- function(Description = NULL, Options = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_input(Description = Description, Options = Options, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway <- ec2_create_transit_gateway
#' Creates a Connect attachment from a specified transit gateway attachment
#'
#' @description
#' Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_connect/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_connect/) for full documentation.
#'
#' @param TransportTransitGatewayAttachmentId [required] The ID of the transit gateway attachment. You can specify a VPC
#' attachment or Amazon Web Services Direct Connect attachment.
#' @param Options [required] The Connect attachment options.
#' @param TagSpecifications The tags to apply to the Connect attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_connect
ec2_create_transit_gateway_connect <- function(TransportTransitGatewayAttachmentId, Options, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayConnect",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_connect_input(TransportTransitGatewayAttachmentId = TransportTransitGatewayAttachmentId, Options = Options, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_connect_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_connect <- ec2_create_transit_gateway_connect
#' Creates a Connect peer for a specified transit gateway Connect
#' attachment between a transit gateway and an appliance
#'
#' @description
#' Creates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_connect_peer/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_connect_peer/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the Connect attachment.
#' @param TransitGatewayAddress The peer IP address (GRE outer IP address) on the transit gateway side
#' of the Connect peer, which must be specified from a transit gateway CIDR
#' block. If not specified, Amazon automatically assigns the first
#' available IP address from the transit gateway CIDR block.
#' @param PeerAddress [required] The peer IP address (GRE outer IP address) on the appliance side of the
#' Connect peer.
#' @param BgpOptions The BGP options for the Connect peer.
#' @param InsideCidrBlocks [required] The range of inside IP addresses that are used for BGP peering. You must
#' specify a size /29 IPv4 CIDR block from the `169.254.0.0/16` range. The
#' first address from the range must be configured on the appliance as the
#' BGP IP address. You can also optionally specify a size /125 IPv6 CIDR
#' block from the `fd00::/8` range.
#' @param TagSpecifications The tags to apply to the Connect peer.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_connect_peer
ec2_create_transit_gateway_connect_peer <- function(TransitGatewayAttachmentId, TransitGatewayAddress = NULL, PeerAddress, BgpOptions = NULL, InsideCidrBlocks, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayConnectPeer",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_connect_peer_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, TransitGatewayAddress = TransitGatewayAddress, PeerAddress = PeerAddress, BgpOptions = BgpOptions, InsideCidrBlocks = InsideCidrBlocks, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_connect_peer_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_connect_peer <- ec2_create_transit_gateway_connect_peer
#' Creates a multicast domain using the specified transit gateway
#'
#' @description
#' Creates a multicast domain using the specified transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_multicast_domain/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_multicast_domain/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway.
#' @param Options The options for the transit gateway multicast domain.
#' @param TagSpecifications The tags for the transit gateway multicast domain.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_multicast_domain
ec2_create_transit_gateway_multicast_domain <- function(TransitGatewayId, Options = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayMulticastDomain",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_multicast_domain_input(TransitGatewayId = TransitGatewayId, Options = Options, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_multicast_domain_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_multicast_domain <- ec2_create_transit_gateway_multicast_domain
#' Requests a transit gateway peering attachment between the specified
#' transit gateway (requester) and a peer transit gateway (accepter)
#'
#' @description
#' Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter). The peer transit gateway can be in your account or a different Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_peering_attachment/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_peering_attachment/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway.
#' @param PeerTransitGatewayId [required] The ID of the peer transit gateway with which to create the peering
#' attachment.
#' @param PeerAccountId [required] The ID of the Amazon Web Services account that owns the peer transit
#' gateway.
#' @param PeerRegion [required] The Region where the peer transit gateway is located.
#' @param Options Requests a transit gateway peering attachment.
#' @param TagSpecifications The tags to apply to the transit gateway peering attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_peering_attachment
ec2_create_transit_gateway_peering_attachment <- function(TransitGatewayId, PeerTransitGatewayId, PeerAccountId, PeerRegion, Options = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayPeeringAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_peering_attachment_input(TransitGatewayId = TransitGatewayId, PeerTransitGatewayId = PeerTransitGatewayId, PeerAccountId = PeerAccountId, PeerRegion = PeerRegion, Options = Options, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_peering_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_peering_attachment <- ec2_create_transit_gateway_peering_attachment
#' Creates a transit gateway policy table
#'
#' @description
#' Creates a transit gateway policy table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_policy_table/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_policy_table/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway used for the policy table.
#' @param TagSpecifications The tags specification for the transit gateway policy table created
#' during the request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_policy_table
ec2_create_transit_gateway_policy_table <- function(TransitGatewayId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayPolicyTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_policy_table_input(TransitGatewayId = TransitGatewayId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_policy_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_policy_table <- ec2_create_transit_gateway_policy_table
#' Creates a reference (route) to a prefix list in a specified transit
#' gateway route table
#'
#' @description
#' Creates a reference (route) to a prefix list in a specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_prefix_list_reference/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_prefix_list_reference/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param PrefixListId [required] The ID of the prefix list that is used for destination matches.
#' @param TransitGatewayAttachmentId The ID of the attachment to which traffic is routed.
#' @param Blackhole Indicates whether to drop traffic that matches this route.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_prefix_list_reference
ec2_create_transit_gateway_prefix_list_reference <- function(TransitGatewayRouteTableId, PrefixListId, TransitGatewayAttachmentId = NULL, Blackhole = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayPrefixListReference",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_prefix_list_reference_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, PrefixListId = PrefixListId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, Blackhole = Blackhole, DryRun = DryRun)
output <- .ec2$create_transit_gateway_prefix_list_reference_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_prefix_list_reference <- ec2_create_transit_gateway_prefix_list_reference
#' Creates a static route for the specified transit gateway route table
#'
#' @description
#' Creates a static route for the specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_route/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_route/) for full documentation.
#'
#' @param DestinationCidrBlock [required] The CIDR range used for destination matches. Routing decisions are based
#' on the most specific match.
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param TransitGatewayAttachmentId The ID of the attachment.
#' @param Blackhole Indicates whether to drop traffic that matches this route.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_route
ec2_create_transit_gateway_route <- function(DestinationCidrBlock, TransitGatewayRouteTableId, TransitGatewayAttachmentId = NULL, Blackhole = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_route_input(DestinationCidrBlock = DestinationCidrBlock, TransitGatewayRouteTableId = TransitGatewayRouteTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, Blackhole = Blackhole, DryRun = DryRun)
output <- .ec2$create_transit_gateway_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_route <- ec2_create_transit_gateway_route
#' Creates a route table for the specified transit gateway
#'
#' @description
#' Creates a route table for the specified transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_route_table/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_route_table/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway.
#' @param TagSpecifications The tags to apply to the transit gateway route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_route_table
ec2_create_transit_gateway_route_table <- function(TransitGatewayId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_route_table_input(TransitGatewayId = TransitGatewayId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_route_table <- ec2_create_transit_gateway_route_table
#' Advertises a new transit gateway route table
#'
#' @description
#' Advertises a new transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_route_table_announcement/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_route_table_announcement/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param PeeringAttachmentId [required] The ID of the peering attachment.
#' @param TagSpecifications The tags specifications applied to the transit gateway route table
#' announcement.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_route_table_announcement
ec2_create_transit_gateway_route_table_announcement <- function(TransitGatewayRouteTableId, PeeringAttachmentId, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayRouteTableAnnouncement",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_route_table_announcement_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, PeeringAttachmentId = PeeringAttachmentId, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_route_table_announcement_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_route_table_announcement <- ec2_create_transit_gateway_route_table_announcement
#' Attaches the specified VPC to the specified transit gateway
#'
#' @description
#' Attaches the specified VPC to the specified transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_vpc_attachment/](https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_vpc_attachment/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway.
#' @param VpcId [required] The ID of the VPC.
#' @param SubnetIds [required] The IDs of one or more subnets. You can specify only one subnet per
#' Availability Zone. You must specify at least one subnet, but we
#' recommend that you specify two subnets for better availability. The
#' transit gateway uses one IP address from each specified subnet.
#' @param Options The VPC attachment options.
#' @param TagSpecifications The tags to apply to the VPC attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_transit_gateway_vpc_attachment
ec2_create_transit_gateway_vpc_attachment <- function(TransitGatewayId, VpcId, SubnetIds, Options = NULL, TagSpecifications = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateTransitGatewayVpcAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_transit_gateway_vpc_attachment_input(TransitGatewayId = TransitGatewayId, VpcId = VpcId, SubnetIds = SubnetIds, Options = Options, TagSpecifications = TagSpecifications, DryRun = DryRun)
output <- .ec2$create_transit_gateway_vpc_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_transit_gateway_vpc_attachment <- ec2_create_transit_gateway_vpc_attachment
#' An Amazon Web Services Verified Access endpoint is where you define your
#' application along with an optional endpoint-level access policy
#'
#' @description
#' An Amazon Web Services Verified Access endpoint is where you define your application along with an optional endpoint-level access policy.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_verified_access_endpoint/](https://www.paws-r-sdk.com/docs/ec2_create_verified_access_endpoint/) for full documentation.
#'
#' @param VerifiedAccessGroupId [required] The ID of the Verified Access group to associate the endpoint with.
#' @param EndpointType [required] The type of Verified Access endpoint to create.
#' @param AttachmentType [required] The type of attachment.
#' @param DomainCertificateArn [required] The ARN of the public TLS/SSL certificate in Amazon Web Services
#' Certificate Manager to associate with the endpoint. The CN in the
#' certificate must match the DNS name your end users will use to reach
#' your application.
#' @param ApplicationDomain [required] The DNS name for users to reach your application.
#' @param EndpointDomainPrefix [required] A custom identifier that is prepended to the DNS name that is generated
#' for the endpoint.
#' @param SecurityGroupIds The IDs of the security groups to associate with the Verified Access
#' endpoint. Required if `AttachmentType` is set to `vpc`.
#' @param LoadBalancerOptions The load balancer details. This parameter is required if the endpoint
#' type is `load-balancer`.
#' @param NetworkInterfaceOptions The network interface details. This parameter is required if the
#' endpoint type is `network-interface`.
#' @param Description A description for the Verified Access endpoint.
#' @param PolicyDocument The Verified Access policy document.
#' @param TagSpecifications The tags to assign to the Verified Access endpoint.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SseSpecification The options for server side encryption.
#'
#' @keywords internal
#'
#' @rdname ec2_create_verified_access_endpoint
ec2_create_verified_access_endpoint <- function(VerifiedAccessGroupId, EndpointType, AttachmentType, DomainCertificateArn, ApplicationDomain, EndpointDomainPrefix, SecurityGroupIds = NULL, LoadBalancerOptions = NULL, NetworkInterfaceOptions = NULL, Description = NULL, PolicyDocument = NULL, TagSpecifications = NULL, ClientToken = NULL, DryRun = NULL, SseSpecification = NULL) {
op <- new_operation(
name = "CreateVerifiedAccessEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_verified_access_endpoint_input(VerifiedAccessGroupId = VerifiedAccessGroupId, EndpointType = EndpointType, AttachmentType = AttachmentType, DomainCertificateArn = DomainCertificateArn, ApplicationDomain = ApplicationDomain, EndpointDomainPrefix = EndpointDomainPrefix, SecurityGroupIds = SecurityGroupIds, LoadBalancerOptions = LoadBalancerOptions, NetworkInterfaceOptions = NetworkInterfaceOptions, Description = Description, PolicyDocument = PolicyDocument, TagSpecifications = TagSpecifications, ClientToken = ClientToken, DryRun = DryRun, SseSpecification = SseSpecification)
output <- .ec2$create_verified_access_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_verified_access_endpoint <- ec2_create_verified_access_endpoint
#' An Amazon Web Services Verified Access group is a collection of Amazon
#' Web Services Verified Access endpoints who's associated applications
#' have similar security requirements
#'
#' @description
#' An Amazon Web Services Verified Access group is a collection of Amazon Web Services Verified Access endpoints who's associated applications have similar security requirements. Each instance within a Verified Access group shares an Verified Access policy. For example, you can group all Verified Access instances associated with "sales" applications together and use one common Verified Access policy.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_verified_access_group/](https://www.paws-r-sdk.com/docs/ec2_create_verified_access_group/) for full documentation.
#'
#' @param VerifiedAccessInstanceId [required] The ID of the Verified Access instance.
#' @param Description A description for the Verified Access group.
#' @param PolicyDocument The Verified Access policy document.
#' @param TagSpecifications The tags to assign to the Verified Access group.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SseSpecification The options for server side encryption.
#'
#' @keywords internal
#'
#' @rdname ec2_create_verified_access_group
ec2_create_verified_access_group <- function(VerifiedAccessInstanceId, Description = NULL, PolicyDocument = NULL, TagSpecifications = NULL, ClientToken = NULL, DryRun = NULL, SseSpecification = NULL) {
op <- new_operation(
name = "CreateVerifiedAccessGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_verified_access_group_input(VerifiedAccessInstanceId = VerifiedAccessInstanceId, Description = Description, PolicyDocument = PolicyDocument, TagSpecifications = TagSpecifications, ClientToken = ClientToken, DryRun = DryRun, SseSpecification = SseSpecification)
output <- .ec2$create_verified_access_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_verified_access_group <- ec2_create_verified_access_group
#' An Amazon Web Services Verified Access instance is a regional entity
#' that evaluates application requests and grants access only when your
#' security requirements are met
#'
#' @description
#' An Amazon Web Services Verified Access instance is a regional entity that evaluates application requests and grants access only when your security requirements are met.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_verified_access_instance/](https://www.paws-r-sdk.com/docs/ec2_create_verified_access_instance/) for full documentation.
#'
#' @param Description A description for the Verified Access instance.
#' @param TagSpecifications The tags to assign to the Verified Access instance.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FIPSEnabled Enable or disable support for Federal Information Processing Standards
#' (FIPS) on the instance.
#'
#' @keywords internal
#'
#' @rdname ec2_create_verified_access_instance
ec2_create_verified_access_instance <- function(Description = NULL, TagSpecifications = NULL, ClientToken = NULL, DryRun = NULL, FIPSEnabled = NULL) {
op <- new_operation(
name = "CreateVerifiedAccessInstance",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_verified_access_instance_input(Description = Description, TagSpecifications = TagSpecifications, ClientToken = ClientToken, DryRun = DryRun, FIPSEnabled = FIPSEnabled)
output <- .ec2$create_verified_access_instance_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_verified_access_instance <- ec2_create_verified_access_instance
#' A trust provider is a third-party entity that creates, maintains, and
#' manages identity information for users and devices
#'
#' @description
#' A trust provider is a third-party entity that creates, maintains, and manages identity information for users and devices. When an application request is made, the identity information sent by the trust provider is evaluated by Verified Access before allowing or denying the application request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_verified_access_trust_provider/](https://www.paws-r-sdk.com/docs/ec2_create_verified_access_trust_provider/) for full documentation.
#'
#' @param TrustProviderType [required] The type of trust provider.
#' @param UserTrustProviderType The type of user-based trust provider. This parameter is required when
#' the provider type is `user`.
#' @param DeviceTrustProviderType The type of device-based trust provider. This parameter is required when
#' the provider type is `device`.
#' @param OidcOptions The options for a OpenID Connect-compatible user-identity trust
#' provider. This parameter is required when the provider type is `user`.
#' @param DeviceOptions The options for a device-based trust provider. This parameter is
#' required when the provider type is `device`.
#' @param PolicyReferenceName [required] The identifier to be used when working with policy rules.
#' @param Description A description for the Verified Access trust provider.
#' @param TagSpecifications The tags to assign to the Verified Access trust provider.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SseSpecification The options for server side encryption.
#'
#' @keywords internal
#'
#' @rdname ec2_create_verified_access_trust_provider
ec2_create_verified_access_trust_provider <- function(TrustProviderType, UserTrustProviderType = NULL, DeviceTrustProviderType = NULL, OidcOptions = NULL, DeviceOptions = NULL, PolicyReferenceName, Description = NULL, TagSpecifications = NULL, ClientToken = NULL, DryRun = NULL, SseSpecification = NULL) {
op <- new_operation(
name = "CreateVerifiedAccessTrustProvider",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_verified_access_trust_provider_input(TrustProviderType = TrustProviderType, UserTrustProviderType = UserTrustProviderType, DeviceTrustProviderType = DeviceTrustProviderType, OidcOptions = OidcOptions, DeviceOptions = DeviceOptions, PolicyReferenceName = PolicyReferenceName, Description = Description, TagSpecifications = TagSpecifications, ClientToken = ClientToken, DryRun = DryRun, SseSpecification = SseSpecification)
output <- .ec2$create_verified_access_trust_provider_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_verified_access_trust_provider <- ec2_create_verified_access_trust_provider
#' Creates an EBS volume that can be attached to an instance in the same
#' Availability Zone
#'
#' @description
#' Creates an EBS volume that can be attached to an instance in the same Availability Zone.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_volume/](https://www.paws-r-sdk.com/docs/ec2_create_volume/) for full documentation.
#'
#' @param AvailabilityZone [required] The ID of the Availability Zone in which to create the volume. For
#' example, `us-east-1a`.
#' @param Encrypted Indicates whether the volume should be encrypted. The effect of setting
#' the encryption state to `true` depends on the volume origin (new or from
#' a snapshot), starting encryption state, ownership, and whether
#' encryption by default is enabled. For more information, see [Encryption
#' by
#' default](https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default)
#' in the *Amazon EBS User Guide*.
#'
#' Encrypted Amazon EBS volumes must be attached to instances that support
#' Amazon EBS encryption. For more information, see [Supported instance
#' types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances).
#' @param Iops The number of I/O operations per second (IOPS). For `gp3`, `io1`, and
#' `io2` volumes, this represents the number of IOPS that are provisioned
#' for the volume. For `gp2` volumes, this represents the baseline
#' performance of the volume and the rate at which the volume accumulates
#' I/O credits for bursting.
#'
#' The following are the supported values for each volume type:
#'
#' - `gp3`: 3,000 - 16,000 IOPS
#'
#' - `io1`: 100 - 64,000 IOPS
#'
#' - `io2`: 100 - 256,000 IOPS
#'
#' For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
#' built on the Nitro
#' System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
#' On other instances, you can achieve performance up to 32,000 IOPS.
#'
#' This parameter is required for `io1` and `io2` volumes. The default for
#' `gp3` volumes is 3,000 IOPS. This parameter is not supported for `gp2`,
#' `st1`, `sc1`, or `standard` volumes.
#' @param KmsKeyId The identifier of the Key Management Service (KMS) KMS key to use for
#' Amazon EBS encryption. If this parameter is not specified, your KMS key
#' for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted state
#' must be `true`.
#'
#' You can specify the KMS key using any of the following:
#'
#' - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Key alias. For example, alias/ExampleAlias.
#'
#' - Key ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Alias ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
#'
#' Amazon Web Services authenticates the KMS key asynchronously. Therefore,
#' if you specify an ID, alias, or ARN that is not valid, the action can
#' appear to complete, but eventually fails.
#' @param OutpostArn The Amazon Resource Name (ARN) of the Outpost.
#' @param Size The size of the volume, in GiBs. You must specify either a snapshot ID
#' or a volume size. If you specify a snapshot, the default is the snapshot
#' size. You can specify a volume size that is equal to or larger than the
#' snapshot size.
#'
#' The following are the supported volumes sizes for each volume type:
#'
#' - `gp2` and `gp3`: 1 - 16,384 GiB
#'
#' - `io1`: 4 - 16,384 GiB
#'
#' - `io2`: 4 - 65,536 GiB
#'
#' - `st1` and `sc1`: 125 - 16,384 GiB
#'
#' - `standard`: 1 - 1024 GiB
#' @param SnapshotId The snapshot from which to create the volume. You must specify either a
#' snapshot ID or a volume size.
#' @param VolumeType The volume type. This parameter can be one of the following values:
#'
#' - General Purpose SSD: `gp2` | `gp3`
#'
#' - Provisioned IOPS SSD: `io1` | `io2`
#'
#' - Throughput Optimized HDD: `st1`
#'
#' - Cold HDD: `sc1`
#'
#' - Magnetic: `standard`
#'
#' Throughput Optimized HDD (`st1`) and Cold HDD (`sc1`) volumes can't be
#' used as boot volumes.
#'
#' For more information, see [Amazon EBS volume
#' types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html)
#' in the *Amazon EBS User Guide*.
#'
#' Default: `gp2`
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to apply to the volume during creation.
#' @param MultiAttachEnabled Indicates whether to enable Amazon EBS Multi-Attach. If you enable
#' Multi-Attach, you can attach the volume to up to 16 [Instances built on
#' the Nitro
#' System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances)
#' in the same Availability Zone. This parameter is supported with `io1`
#' and `io2` volumes only. For more information, see [Amazon EBS
#' Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html)
#' in the *Amazon EBS User Guide*.
#' @param Throughput The throughput to provision for a volume, with a maximum of 1,000 MiB/s.
#'
#' This parameter is valid only for `gp3` volumes.
#'
#' Valid Range: Minimum value of 125. Maximum value of 1000.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensure
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_volume
ec2_create_volume <- function(AvailabilityZone, Encrypted = NULL, Iops = NULL, KmsKeyId = NULL, OutpostArn = NULL, Size = NULL, SnapshotId = NULL, VolumeType = NULL, DryRun = NULL, TagSpecifications = NULL, MultiAttachEnabled = NULL, Throughput = NULL, ClientToken = NULL) {
op <- new_operation(
name = "CreateVolume",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_volume_input(AvailabilityZone = AvailabilityZone, Encrypted = Encrypted, Iops = Iops, KmsKeyId = KmsKeyId, OutpostArn = OutpostArn, Size = Size, SnapshotId = SnapshotId, VolumeType = VolumeType, DryRun = DryRun, TagSpecifications = TagSpecifications, MultiAttachEnabled = MultiAttachEnabled, Throughput = Throughput, ClientToken = ClientToken)
output <- .ec2$create_volume_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_volume <- ec2_create_volume
#' Creates a VPC with the specified CIDR blocks
#'
#' @description
#' Creates a VPC with the specified CIDR blocks. For more information, see [IP addressing for your VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpc/](https://www.paws-r-sdk.com/docs/ec2_create_vpc/) for full documentation.
#'
#' @param CidrBlock The IPv4 network range for the VPC, in CIDR notation. For example,
#' `10.0.0.0/16`. We modify the specified CIDR block to its canonical form;
#' for example, if you specify `100.68.0.18/18`, we modify it to
#' `100.68.0.0/18`.
#' @param AmazonProvidedIpv6CidrBlock Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for
#' the VPC. You cannot specify the range of IP addresses, or the size of
#' the CIDR block.
#' @param Ipv6Pool The ID of an IPv6 address pool from which to allocate the IPv6 CIDR
#' block.
#' @param Ipv6CidrBlock The IPv6 CIDR block from the IPv6 address pool. You must also specify
#' `Ipv6Pool` in the request.
#'
#' To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
#' @param Ipv4IpamPoolId The ID of an IPv4 IPAM pool you want to use for allocating this VPC's
#' CIDR. For more information, see [What is
#' IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/) in the *Amazon VPC
#' IPAM User Guide*.
#' @param Ipv4NetmaskLength The netmask length of the IPv4 CIDR you want to allocate to this VPC
#' from an Amazon VPC IP Address Manager (IPAM) pool. For more information
#' about IPAM, see [What is
#' IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/) in the *Amazon VPC
#' IPAM User Guide*.
#' @param Ipv6IpamPoolId The ID of an IPv6 IPAM pool which will be used to allocate this VPC an
#' IPv6 CIDR. IPAM is a VPC feature that you can use to automate your IP
#' address management workflows including assigning, tracking,
#' troubleshooting, and auditing IP addresses across Amazon Web Services
#' Regions and accounts throughout your Amazon Web Services Organization.
#' For more information, see [What is
#' IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/) in the *Amazon VPC
#' IPAM User Guide*.
#' @param Ipv6NetmaskLength The netmask length of the IPv6 CIDR you want to allocate to this VPC
#' from an Amazon VPC IP Address Manager (IPAM) pool. For more information
#' about IPAM, see [What is
#' IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/) in the *Amazon VPC
#' IPAM User Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceTenancy The tenancy options for instances launched into the VPC. For `default`,
#' instances are launched with shared tenancy by default. You can launch
#' instances with any tenancy into a shared tenancy VPC. For `dedicated`,
#' instances are launched as dedicated tenancy instances by default. You
#' can only launch instances with a tenancy of `dedicated` or `host` into a
#' dedicated tenancy VPC.
#'
#' **Important:** The `host` value cannot be used with this parameter. Use
#' the `default` or `dedicated` values only.
#'
#' Default: `default`
#' @param Ipv6CidrBlockNetworkBorderGroup The name of the location from which we advertise the IPV6 CIDR block.
#' Use this parameter to limit the address to this location.
#'
#' You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
#' parameter.
#' @param TagSpecifications The tags to assign to the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpc
ec2_create_vpc <- function(CidrBlock = NULL, AmazonProvidedIpv6CidrBlock = NULL, Ipv6Pool = NULL, Ipv6CidrBlock = NULL, Ipv4IpamPoolId = NULL, Ipv4NetmaskLength = NULL, Ipv6IpamPoolId = NULL, Ipv6NetmaskLength = NULL, DryRun = NULL, InstanceTenancy = NULL, Ipv6CidrBlockNetworkBorderGroup = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateVpc",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpc_input(CidrBlock = CidrBlock, AmazonProvidedIpv6CidrBlock = AmazonProvidedIpv6CidrBlock, Ipv6Pool = Ipv6Pool, Ipv6CidrBlock = Ipv6CidrBlock, Ipv4IpamPoolId = Ipv4IpamPoolId, Ipv4NetmaskLength = Ipv4NetmaskLength, Ipv6IpamPoolId = Ipv6IpamPoolId, Ipv6NetmaskLength = Ipv6NetmaskLength, DryRun = DryRun, InstanceTenancy = InstanceTenancy, Ipv6CidrBlockNetworkBorderGroup = Ipv6CidrBlockNetworkBorderGroup, TagSpecifications = TagSpecifications)
output <- .ec2$create_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpc <- ec2_create_vpc
#' Creates a VPC endpoint
#'
#' @description
#' Creates a VPC endpoint. A VPC endpoint provides a private connection between the specified VPC and the specified endpoint service. You can use an endpoint service provided by Amazon Web Services, an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, see the [Amazon Web Services PrivateLink User Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpc_endpoint/](https://www.paws-r-sdk.com/docs/ec2_create_vpc_endpoint/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcEndpointType The type of endpoint.
#'
#' Default: Gateway
#' @param VpcId [required] The ID of the VPC.
#' @param ServiceName [required] The name of the endpoint service.
#' @param PolicyDocument (Interface and gateway endpoints) A policy to attach to the endpoint
#' that controls access to the service. The policy must be in valid JSON
#' format. If this parameter is not specified, we attach a default policy
#' that allows full access to the service.
#' @param RouteTableIds (Gateway endpoint) The route table IDs.
#' @param SubnetIds (Interface and Gateway Load Balancer endpoints) The IDs of the subnets
#' in which to create endpoint network interfaces. For a Gateway Load
#' Balancer endpoint, you can specify only one subnet.
#' @param SecurityGroupIds (Interface endpoint) The IDs of the security groups to associate with
#' the endpoint network interfaces. If this parameter is not specified, we
#' use the default security group for the VPC.
#' @param IpAddressType The IP address type for the endpoint.
#' @param DnsOptions The DNS options for the endpoint.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param PrivateDnsEnabled (Interface endpoint) Indicates whether to associate a private hosted
#' zone with the specified VPC. The private hosted zone contains a record
#' set for the default public DNS name for the service for the Region (for
#' example, `kinesis.us-east-1.amazonaws.com`), which resolves to the
#' private IP addresses of the endpoint network interfaces in the VPC. This
#' enables you to make requests to the default public DNS name for the
#' service instead of the public DNS names that are automatically generated
#' by the VPC endpoint service.
#'
#' To use a private hosted zone, you must set the following VPC attributes
#' to `true`: `enableDnsHostnames` and `enableDnsSupport`. Use
#' [`modify_vpc_attribute`][ec2_modify_vpc_attribute] to set the VPC
#' attributes.
#'
#' Default: `true`
#' @param TagSpecifications The tags to associate with the endpoint.
#' @param SubnetConfigurations The subnet configurations for the endpoint.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpc_endpoint
ec2_create_vpc_endpoint <- function(DryRun = NULL, VpcEndpointType = NULL, VpcId, ServiceName, PolicyDocument = NULL, RouteTableIds = NULL, SubnetIds = NULL, SecurityGroupIds = NULL, IpAddressType = NULL, DnsOptions = NULL, ClientToken = NULL, PrivateDnsEnabled = NULL, TagSpecifications = NULL, SubnetConfigurations = NULL) {
op <- new_operation(
name = "CreateVpcEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpc_endpoint_input(DryRun = DryRun, VpcEndpointType = VpcEndpointType, VpcId = VpcId, ServiceName = ServiceName, PolicyDocument = PolicyDocument, RouteTableIds = RouteTableIds, SubnetIds = SubnetIds, SecurityGroupIds = SecurityGroupIds, IpAddressType = IpAddressType, DnsOptions = DnsOptions, ClientToken = ClientToken, PrivateDnsEnabled = PrivateDnsEnabled, TagSpecifications = TagSpecifications, SubnetConfigurations = SubnetConfigurations)
output <- .ec2$create_vpc_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpc_endpoint <- ec2_create_vpc_endpoint
#' Creates a connection notification for a specified VPC endpoint or VPC
#' endpoint service
#'
#' @description
#' Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see [Create a Topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html) in the *Amazon Simple Notification Service Developer Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpc_endpoint_connection_notification/](https://www.paws-r-sdk.com/docs/ec2_create_vpc_endpoint_connection_notification/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId The ID of the endpoint service.
#' @param VpcEndpointId The ID of the endpoint.
#' @param ConnectionNotificationArn [required] The ARN of the SNS topic for the notifications.
#' @param ConnectionEvents [required] The endpoint events for which to receive notifications. Valid values are
#' `Accept`, `Connect`, `Delete`, and `Reject`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpc_endpoint_connection_notification
ec2_create_vpc_endpoint_connection_notification <- function(DryRun = NULL, ServiceId = NULL, VpcEndpointId = NULL, ConnectionNotificationArn, ConnectionEvents, ClientToken = NULL) {
op <- new_operation(
name = "CreateVpcEndpointConnectionNotification",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpc_endpoint_connection_notification_input(DryRun = DryRun, ServiceId = ServiceId, VpcEndpointId = VpcEndpointId, ConnectionNotificationArn = ConnectionNotificationArn, ConnectionEvents = ConnectionEvents, ClientToken = ClientToken)
output <- .ec2$create_vpc_endpoint_connection_notification_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpc_endpoint_connection_notification <- ec2_create_vpc_endpoint_connection_notification
#' Creates a VPC endpoint service to which service consumers (Amazon Web
#' Services accounts, users, and IAM roles) can connect
#'
#' @description
#' Creates a VPC endpoint service to which service consumers (Amazon Web Services accounts, users, and IAM roles) can connect.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpc_endpoint_service_configuration/](https://www.paws-r-sdk.com/docs/ec2_create_vpc_endpoint_service_configuration/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param AcceptanceRequired Indicates whether requests from service consumers to create an endpoint
#' to your service must be accepted manually.
#' @param PrivateDnsName (Interface endpoint configuration) The private DNS name to assign to the
#' VPC endpoint service.
#' @param NetworkLoadBalancerArns The Amazon Resource Names (ARNs) of the Network Load Balancers.
#' @param GatewayLoadBalancerArns The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
#' @param SupportedIpAddressTypes The supported IP address types. The possible values are `ipv4` and
#' `ipv6`.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param TagSpecifications The tags to associate with the service.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpc_endpoint_service_configuration
ec2_create_vpc_endpoint_service_configuration <- function(DryRun = NULL, AcceptanceRequired = NULL, PrivateDnsName = NULL, NetworkLoadBalancerArns = NULL, GatewayLoadBalancerArns = NULL, SupportedIpAddressTypes = NULL, ClientToken = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateVpcEndpointServiceConfiguration",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpc_endpoint_service_configuration_input(DryRun = DryRun, AcceptanceRequired = AcceptanceRequired, PrivateDnsName = PrivateDnsName, NetworkLoadBalancerArns = NetworkLoadBalancerArns, GatewayLoadBalancerArns = GatewayLoadBalancerArns, SupportedIpAddressTypes = SupportedIpAddressTypes, ClientToken = ClientToken, TagSpecifications = TagSpecifications)
output <- .ec2$create_vpc_endpoint_service_configuration_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpc_endpoint_service_configuration <- ec2_create_vpc_endpoint_service_configuration
#' Requests a VPC peering connection between two VPCs: a requester VPC that
#' you own and an accepter VPC with which to create the connection
#'
#' @description
#' Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection. The accepter VPC can belong to another Amazon Web Services account and can be in a different Region to the requester VPC. The requester VPC and accepter VPC cannot have overlapping CIDR blocks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpc_peering_connection/](https://www.paws-r-sdk.com/docs/ec2_create_vpc_peering_connection/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PeerOwnerId The Amazon Web Services account ID of the owner of the accepter VPC.
#'
#' Default: Your Amazon Web Services account ID
#' @param PeerVpcId The ID of the VPC with which you are creating the VPC peering
#' connection. You must specify this parameter in the request.
#' @param VpcId [required] The ID of the requester VPC. You must specify this parameter in the
#' request.
#' @param PeerRegion The Region code for the accepter VPC, if the accepter VPC is located in
#' a Region other than the Region in which you make the request.
#'
#' Default: The Region in which you make the request.
#' @param TagSpecifications The tags to assign to the peering connection.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpc_peering_connection
ec2_create_vpc_peering_connection <- function(DryRun = NULL, PeerOwnerId = NULL, PeerVpcId = NULL, VpcId, PeerRegion = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateVpcPeeringConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpc_peering_connection_input(DryRun = DryRun, PeerOwnerId = PeerOwnerId, PeerVpcId = PeerVpcId, VpcId = VpcId, PeerRegion = PeerRegion, TagSpecifications = TagSpecifications)
output <- .ec2$create_vpc_peering_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpc_peering_connection <- ec2_create_vpc_peering_connection
#' Creates a VPN connection between an existing virtual private gateway or
#' transit gateway and a customer gateway
#'
#' @description
#' Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway. The supported connection type is `ipsec.1`.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpn_connection/](https://www.paws-r-sdk.com/docs/ec2_create_vpn_connection/) for full documentation.
#'
#' @param CustomerGatewayId [required] The ID of the customer gateway.
#' @param Type [required] The type of VPN connection (`ipsec.1`).
#' @param VpnGatewayId The ID of the virtual private gateway. If you specify a virtual private
#' gateway, you cannot specify a transit gateway.
#' @param TransitGatewayId The ID of the transit gateway. If you specify a transit gateway, you
#' cannot specify a virtual private gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Options The options for the VPN connection.
#' @param TagSpecifications The tags to apply to the VPN connection.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpn_connection
ec2_create_vpn_connection <- function(CustomerGatewayId, Type, VpnGatewayId = NULL, TransitGatewayId = NULL, DryRun = NULL, Options = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "CreateVpnConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpn_connection_input(CustomerGatewayId = CustomerGatewayId, Type = Type, VpnGatewayId = VpnGatewayId, TransitGatewayId = TransitGatewayId, DryRun = DryRun, Options = Options, TagSpecifications = TagSpecifications)
output <- .ec2$create_vpn_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpn_connection <- ec2_create_vpn_connection
#' Creates a static route associated with a VPN connection between an
#' existing virtual private gateway and a VPN customer gateway
#'
#' @description
#' Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpn_connection_route/](https://www.paws-r-sdk.com/docs/ec2_create_vpn_connection_route/) for full documentation.
#'
#' @param DestinationCidrBlock [required] The CIDR block associated with the local subnet of the customer network.
#' @param VpnConnectionId [required] The ID of the VPN connection.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpn_connection_route
ec2_create_vpn_connection_route <- function(DestinationCidrBlock, VpnConnectionId) {
op <- new_operation(
name = "CreateVpnConnectionRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpn_connection_route_input(DestinationCidrBlock = DestinationCidrBlock, VpnConnectionId = VpnConnectionId)
output <- .ec2$create_vpn_connection_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpn_connection_route <- ec2_create_vpn_connection_route
#' Creates a virtual private gateway
#'
#' @description
#' Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_create_vpn_gateway/](https://www.paws-r-sdk.com/docs/ec2_create_vpn_gateway/) for full documentation.
#'
#' @param AvailabilityZone The Availability Zone for the virtual private gateway.
#' @param Type [required] The type of VPN connection this virtual private gateway supports.
#' @param TagSpecifications The tags to apply to the virtual private gateway.
#' @param AmazonSideAsn A private Autonomous System Number (ASN) for the Amazon side of a BGP
#' session. If you're using a 16-bit ASN, it must be in the 64512 to 65534
#' range. If you're using a 32-bit ASN, it must be in the 4200000000 to
#' 4294967294 range.
#'
#' Default: 64512
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_create_vpn_gateway
ec2_create_vpn_gateway <- function(AvailabilityZone = NULL, Type, TagSpecifications = NULL, AmazonSideAsn = NULL, DryRun = NULL) {
op <- new_operation(
name = "CreateVpnGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$create_vpn_gateway_input(AvailabilityZone = AvailabilityZone, Type = Type, TagSpecifications = TagSpecifications, AmazonSideAsn = AmazonSideAsn, DryRun = DryRun)
output <- .ec2$create_vpn_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$create_vpn_gateway <- ec2_create_vpn_gateway
#' Deletes a carrier gateway
#'
#' @description
#' Deletes a carrier gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_carrier_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_carrier_gateway/) for full documentation.
#'
#' @param CarrierGatewayId [required] The ID of the carrier gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_carrier_gateway
ec2_delete_carrier_gateway <- function(CarrierGatewayId, DryRun = NULL) {
op <- new_operation(
name = "DeleteCarrierGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_carrier_gateway_input(CarrierGatewayId = CarrierGatewayId, DryRun = DryRun)
output <- .ec2$delete_carrier_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_carrier_gateway <- ec2_delete_carrier_gateway
#' Deletes the specified Client VPN endpoint
#'
#' @description
#' Deletes the specified Client VPN endpoint. You must disassociate all target networks before you can delete a Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_client_vpn_endpoint/](https://www.paws-r-sdk.com/docs/ec2_delete_client_vpn_endpoint/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN to be deleted.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_client_vpn_endpoint
ec2_delete_client_vpn_endpoint <- function(ClientVpnEndpointId, DryRun = NULL) {
op <- new_operation(
name = "DeleteClientVpnEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_client_vpn_endpoint_input(ClientVpnEndpointId = ClientVpnEndpointId, DryRun = DryRun)
output <- .ec2$delete_client_vpn_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_client_vpn_endpoint <- ec2_delete_client_vpn_endpoint
#' Deletes a route from a Client VPN endpoint
#'
#' @description
#' Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using the **CreateClientVpnRoute** action. You cannot delete routes that were automatically added when associating a subnet. To remove routes that have been automatically added, disassociate the target subnet from the Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_client_vpn_route/](https://www.paws-r-sdk.com/docs/ec2_delete_client_vpn_route/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint from which the route is to be deleted.
#' @param TargetVpcSubnetId The ID of the target subnet used by the route.
#' @param DestinationCidrBlock [required] The IPv4 address range, in CIDR notation, of the route to be deleted.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_client_vpn_route
ec2_delete_client_vpn_route <- function(ClientVpnEndpointId, TargetVpcSubnetId = NULL, DestinationCidrBlock, DryRun = NULL) {
op <- new_operation(
name = "DeleteClientVpnRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_client_vpn_route_input(ClientVpnEndpointId = ClientVpnEndpointId, TargetVpcSubnetId = TargetVpcSubnetId, DestinationCidrBlock = DestinationCidrBlock, DryRun = DryRun)
output <- .ec2$delete_client_vpn_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_client_vpn_route <- ec2_delete_client_vpn_route
#' Deletes a range of customer-owned IP addresses
#'
#' @description
#' Deletes a range of customer-owned IP addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_coip_cidr/](https://www.paws-r-sdk.com/docs/ec2_delete_coip_cidr/) for full documentation.
#'
#' @param Cidr [required] A customer-owned IP address range that you want to delete.
#' @param CoipPoolId [required] The ID of the customer-owned address pool.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_coip_cidr
ec2_delete_coip_cidr <- function(Cidr, CoipPoolId, DryRun = NULL) {
op <- new_operation(
name = "DeleteCoipCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_coip_cidr_input(Cidr = Cidr, CoipPoolId = CoipPoolId, DryRun = DryRun)
output <- .ec2$delete_coip_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_coip_cidr <- ec2_delete_coip_cidr
#' Deletes a pool of customer-owned IP (CoIP) addresses
#'
#' @description
#' Deletes a pool of customer-owned IP (CoIP) addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_coip_pool/](https://www.paws-r-sdk.com/docs/ec2_delete_coip_pool/) for full documentation.
#'
#' @param CoipPoolId [required] The ID of the CoIP pool that you want to delete.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_coip_pool
ec2_delete_coip_pool <- function(CoipPoolId, DryRun = NULL) {
op <- new_operation(
name = "DeleteCoipPool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_coip_pool_input(CoipPoolId = CoipPoolId, DryRun = DryRun)
output <- .ec2$delete_coip_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_coip_pool <- ec2_delete_coip_pool
#' Deletes the specified customer gateway
#'
#' @description
#' Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_customer_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_customer_gateway/) for full documentation.
#'
#' @param CustomerGatewayId [required] The ID of the customer gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_customer_gateway
ec2_delete_customer_gateway <- function(CustomerGatewayId, DryRun = NULL) {
op <- new_operation(
name = "DeleteCustomerGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_customer_gateway_input(CustomerGatewayId = CustomerGatewayId, DryRun = DryRun)
output <- .ec2$delete_customer_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_customer_gateway <- ec2_delete_customer_gateway
#' Deletes the specified set of DHCP options
#'
#' @description
#' Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_dhcp_options/](https://www.paws-r-sdk.com/docs/ec2_delete_dhcp_options/) for full documentation.
#'
#' @param DhcpOptionsId [required] The ID of the DHCP options set.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_dhcp_options
ec2_delete_dhcp_options <- function(DhcpOptionsId, DryRun = NULL) {
op <- new_operation(
name = "DeleteDhcpOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_dhcp_options_input(DhcpOptionsId = DhcpOptionsId, DryRun = DryRun)
output <- .ec2$delete_dhcp_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_dhcp_options <- ec2_delete_dhcp_options
#' Deletes an egress-only internet gateway
#'
#' @description
#' Deletes an egress-only internet gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_egress_only_internet_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_egress_only_internet_gateway/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EgressOnlyInternetGatewayId [required] The ID of the egress-only internet gateway.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_egress_only_internet_gateway
ec2_delete_egress_only_internet_gateway <- function(DryRun = NULL, EgressOnlyInternetGatewayId) {
op <- new_operation(
name = "DeleteEgressOnlyInternetGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_egress_only_internet_gateway_input(DryRun = DryRun, EgressOnlyInternetGatewayId = EgressOnlyInternetGatewayId)
output <- .ec2$delete_egress_only_internet_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_egress_only_internet_gateway <- ec2_delete_egress_only_internet_gateway
#' Deletes the specified EC2 Fleets
#'
#' @description
#' Deletes the specified EC2 Fleets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_fleets/](https://www.paws-r-sdk.com/docs/ec2_delete_fleets/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FleetIds [required] The IDs of the EC2 Fleets.
#'
#' Constraints: In a single request, you can specify up to 25 `instant`
#' fleet IDs and up to 100 `maintain` or `request` fleet IDs.
#' @param TerminateInstances [required] Indicates whether to terminate the associated instances when the EC2
#' Fleet is deleted. The default is to terminate the instances.
#'
#' To let the instances continue to run after the EC2 Fleet is deleted,
#' specify `no-terminate-instances`. Supported only for fleets of type
#' `maintain` and `request`.
#'
#' For `instant` fleets, you cannot specify `NoTerminateInstances`. A
#' deleted `instant` fleet with running instances is not supported.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_fleets
ec2_delete_fleets <- function(DryRun = NULL, FleetIds, TerminateInstances) {
op <- new_operation(
name = "DeleteFleets",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_fleets_input(DryRun = DryRun, FleetIds = FleetIds, TerminateInstances = TerminateInstances)
output <- .ec2$delete_fleets_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_fleets <- ec2_delete_fleets
#' Deletes one or more flow logs
#'
#' @description
#' Deletes one or more flow logs.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_flow_logs/](https://www.paws-r-sdk.com/docs/ec2_delete_flow_logs/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FlowLogIds [required] One or more flow log IDs.
#'
#' Constraint: Maximum of 1000 flow log IDs.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_flow_logs
ec2_delete_flow_logs <- function(DryRun = NULL, FlowLogIds) {
op <- new_operation(
name = "DeleteFlowLogs",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_flow_logs_input(DryRun = DryRun, FlowLogIds = FlowLogIds)
output <- .ec2$delete_flow_logs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_flow_logs <- ec2_delete_flow_logs
#' Deletes the specified Amazon FPGA Image (AFI)
#'
#' @description
#' Deletes the specified Amazon FPGA Image (AFI).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_fpga_image/](https://www.paws-r-sdk.com/docs/ec2_delete_fpga_image/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FpgaImageId [required] The ID of the AFI.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_fpga_image
ec2_delete_fpga_image <- function(DryRun = NULL, FpgaImageId) {
op <- new_operation(
name = "DeleteFpgaImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_fpga_image_input(DryRun = DryRun, FpgaImageId = FpgaImageId)
output <- .ec2$delete_fpga_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_fpga_image <- ec2_delete_fpga_image
#' Deletes the specified EC2 Instance Connect Endpoint
#'
#' @description
#' Deletes the specified EC2 Instance Connect Endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_instance_connect_endpoint/](https://www.paws-r-sdk.com/docs/ec2_delete_instance_connect_endpoint/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceConnectEndpointId [required] The ID of the EC2 Instance Connect Endpoint to delete.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_instance_connect_endpoint
ec2_delete_instance_connect_endpoint <- function(DryRun = NULL, InstanceConnectEndpointId) {
op <- new_operation(
name = "DeleteInstanceConnectEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_instance_connect_endpoint_input(DryRun = DryRun, InstanceConnectEndpointId = InstanceConnectEndpointId)
output <- .ec2$delete_instance_connect_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_instance_connect_endpoint <- ec2_delete_instance_connect_endpoint
#' Deletes the specified event window
#'
#' @description
#' Deletes the specified event window.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_instance_event_window/](https://www.paws-r-sdk.com/docs/ec2_delete_instance_event_window/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ForceDelete Specify `true` to force delete the event window. Use the force delete
#' parameter if the event window is currently associated with targets.
#' @param InstanceEventWindowId [required] The ID of the event window.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_instance_event_window
ec2_delete_instance_event_window <- function(DryRun = NULL, ForceDelete = NULL, InstanceEventWindowId) {
op <- new_operation(
name = "DeleteInstanceEventWindow",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_instance_event_window_input(DryRun = DryRun, ForceDelete = ForceDelete, InstanceEventWindowId = InstanceEventWindowId)
output <- .ec2$delete_instance_event_window_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_instance_event_window <- ec2_delete_instance_event_window
#' Deletes the specified internet gateway
#'
#' @description
#' Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_internet_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_internet_gateway/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InternetGatewayId [required] The ID of the internet gateway.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_internet_gateway
ec2_delete_internet_gateway <- function(DryRun = NULL, InternetGatewayId) {
op <- new_operation(
name = "DeleteInternetGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_internet_gateway_input(DryRun = DryRun, InternetGatewayId = InternetGatewayId)
output <- .ec2$delete_internet_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_internet_gateway <- ec2_delete_internet_gateway
#' Delete an IPAM
#'
#' @description
#' Delete an IPAM. Deleting an IPAM removes all monitored data associated with the IPAM including the historical data for CIDRs.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_ipam/](https://www.paws-r-sdk.com/docs/ec2_delete_ipam/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamId [required] The ID of the IPAM to delete.
#' @param Cascade Enables you to quickly delete an IPAM, private scopes, pools in private
#' scopes, and any allocations in the pools in private scopes. You cannot
#' delete the IPAM with this option if there is a pool in your public
#' scope. If you use this option, IPAM does the following:
#'
#' - Deallocates any CIDRs allocated to VPC resources (such as VPCs) in
#' pools in private scopes.
#'
#' No VPC resources are deleted as a result of enabling this option.
#' The CIDR associated with the resource will no longer be allocated
#' from an IPAM pool, but the CIDR itself will remain unchanged.
#'
#' - Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private
#' scopes.
#'
#' - Deletes all IPAM pools in private scopes.
#'
#' - Deletes all non-default private scopes in the IPAM.
#'
#' - Deletes the default public and private scopes and the IPAM.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_ipam
ec2_delete_ipam <- function(DryRun = NULL, IpamId, Cascade = NULL) {
op <- new_operation(
name = "DeleteIpam",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_ipam_input(DryRun = DryRun, IpamId = IpamId, Cascade = Cascade)
output <- .ec2$delete_ipam_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_ipam <- ec2_delete_ipam
#' Delete an IPAM pool
#'
#' @description
#' Delete an IPAM pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_ipam_pool/](https://www.paws-r-sdk.com/docs/ec2_delete_ipam_pool/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the pool to delete.
#' @param Cascade Enables you to quickly delete an IPAM pool and all resources within that
#' pool, including provisioned CIDRs, allocations, and other pools.
#'
#' You can only use this option to delete pools in the private scope or
#' pools in the public scope with a source resource. A source resource is a
#' resource used to provision CIDRs to a resource planning pool.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_ipam_pool
ec2_delete_ipam_pool <- function(DryRun = NULL, IpamPoolId, Cascade = NULL) {
op <- new_operation(
name = "DeleteIpamPool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_ipam_pool_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Cascade = Cascade)
output <- .ec2$delete_ipam_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_ipam_pool <- ec2_delete_ipam_pool
#' Deletes an IPAM resource discovery
#'
#' @description
#' Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_ipam_resource_discovery/](https://www.paws-r-sdk.com/docs/ec2_delete_ipam_resource_discovery/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryId [required] The IPAM resource discovery ID.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_ipam_resource_discovery
ec2_delete_ipam_resource_discovery <- function(DryRun = NULL, IpamResourceDiscoveryId) {
op <- new_operation(
name = "DeleteIpamResourceDiscovery",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_ipam_resource_discovery_input(DryRun = DryRun, IpamResourceDiscoveryId = IpamResourceDiscoveryId)
output <- .ec2$delete_ipam_resource_discovery_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_ipam_resource_discovery <- ec2_delete_ipam_resource_discovery
#' Delete the scope for an IPAM
#'
#' @description
#' Delete the scope for an IPAM. You cannot delete the default scopes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_ipam_scope/](https://www.paws-r-sdk.com/docs/ec2_delete_ipam_scope/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamScopeId [required] The ID of the scope to delete.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_ipam_scope
ec2_delete_ipam_scope <- function(DryRun = NULL, IpamScopeId) {
op <- new_operation(
name = "DeleteIpamScope",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_ipam_scope_input(DryRun = DryRun, IpamScopeId = IpamScopeId)
output <- .ec2$delete_ipam_scope_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_ipam_scope <- ec2_delete_ipam_scope
#' Deletes the specified key pair, by removing the public key from Amazon
#' EC2
#'
#' @description
#' Deletes the specified key pair, by removing the public key from Amazon EC2.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_key_pair/](https://www.paws-r-sdk.com/docs/ec2_delete_key_pair/) for full documentation.
#'
#' @param KeyName The name of the key pair.
#' @param KeyPairId The ID of the key pair.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_key_pair
ec2_delete_key_pair <- function(KeyName = NULL, KeyPairId = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeleteKeyPair",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_key_pair_input(KeyName = KeyName, KeyPairId = KeyPairId, DryRun = DryRun)
output <- .ec2$delete_key_pair_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_key_pair <- ec2_delete_key_pair
#' Deletes a launch template
#'
#' @description
#' Deletes a launch template. Deleting a launch template deletes all of its versions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_launch_template/](https://www.paws-r-sdk.com/docs/ec2_delete_launch_template/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LaunchTemplateId The ID of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param LaunchTemplateName The name of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_launch_template
ec2_delete_launch_template <- function(DryRun = NULL, LaunchTemplateId = NULL, LaunchTemplateName = NULL) {
op <- new_operation(
name = "DeleteLaunchTemplate",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_launch_template_input(DryRun = DryRun, LaunchTemplateId = LaunchTemplateId, LaunchTemplateName = LaunchTemplateName)
output <- .ec2$delete_launch_template_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_launch_template <- ec2_delete_launch_template
#' Deletes one or more versions of a launch template
#'
#' @description
#' Deletes one or more versions of a launch template.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_launch_template_versions/](https://www.paws-r-sdk.com/docs/ec2_delete_launch_template_versions/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LaunchTemplateId The ID of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param LaunchTemplateName The name of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param Versions [required] The version numbers of one or more launch template versions to delete.
#' You can specify up to 200 launch template version numbers.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_launch_template_versions
ec2_delete_launch_template_versions <- function(DryRun = NULL, LaunchTemplateId = NULL, LaunchTemplateName = NULL, Versions) {
op <- new_operation(
name = "DeleteLaunchTemplateVersions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_launch_template_versions_input(DryRun = DryRun, LaunchTemplateId = LaunchTemplateId, LaunchTemplateName = LaunchTemplateName, Versions = Versions)
output <- .ec2$delete_launch_template_versions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_launch_template_versions <- ec2_delete_launch_template_versions
#' Deletes the specified route from the specified local gateway route table
#'
#' @description
#' Deletes the specified route from the specified local gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route/](https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route/) for full documentation.
#'
#' @param DestinationCidrBlock The CIDR range for the route. This must match the CIDR for the route
#' exactly.
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param DestinationPrefixListId Use a prefix list in place of `DestinationCidrBlock`. You cannot use
#' `DestinationPrefixListId` and `DestinationCidrBlock` in the same
#' request.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_local_gateway_route
ec2_delete_local_gateway_route <- function(DestinationCidrBlock = NULL, LocalGatewayRouteTableId, DryRun = NULL, DestinationPrefixListId = NULL) {
op <- new_operation(
name = "DeleteLocalGatewayRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_local_gateway_route_input(DestinationCidrBlock = DestinationCidrBlock, LocalGatewayRouteTableId = LocalGatewayRouteTableId, DryRun = DryRun, DestinationPrefixListId = DestinationPrefixListId)
output <- .ec2$delete_local_gateway_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_local_gateway_route <- ec2_delete_local_gateway_route
#' Deletes a local gateway route table
#'
#' @description
#' Deletes a local gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route_table/](https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route_table/) for full documentation.
#'
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_local_gateway_route_table
ec2_delete_local_gateway_route_table <- function(LocalGatewayRouteTableId, DryRun = NULL) {
op <- new_operation(
name = "DeleteLocalGatewayRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_local_gateway_route_table_input(LocalGatewayRouteTableId = LocalGatewayRouteTableId, DryRun = DryRun)
output <- .ec2$delete_local_gateway_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_local_gateway_route_table <- ec2_delete_local_gateway_route_table
#' Deletes a local gateway route table virtual interface group association
#'
#' @description
#' Deletes a local gateway route table virtual interface group association.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route_table_virtual_interface_group_association/](https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route_table_virtual_interface_group_association/) for full documentation.
#'
#' @param LocalGatewayRouteTableVirtualInterfaceGroupAssociationId [required] The ID of the local gateway route table virtual interface group
#' association.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delet_local_gatew_route_table_virtu_inter_group_assoc
ec2_delete_local_gateway_route_table_virtual_interface_group_association <- function(LocalGatewayRouteTableVirtualInterfaceGroupAssociationId, DryRun = NULL) {
op <- new_operation(
name = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_local_gateway_route_table_virtual_interface_group_association_input(LocalGatewayRouteTableVirtualInterfaceGroupAssociationId = LocalGatewayRouteTableVirtualInterfaceGroupAssociationId, DryRun = DryRun)
output <- .ec2$delete_local_gateway_route_table_virtual_interface_group_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_local_gateway_route_table_virtual_interface_group_association <- ec2_delete_local_gateway_route_table_virtual_interface_group_association
#' Deletes the specified association between a VPC and local gateway route
#' table
#'
#' @description
#' Deletes the specified association between a VPC and local gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route_table_vpc_association/](https://www.paws-r-sdk.com/docs/ec2_delete_local_gateway_route_table_vpc_association/) for full documentation.
#'
#' @param LocalGatewayRouteTableVpcAssociationId [required] The ID of the association.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_local_gateway_route_table_vpc_association
ec2_delete_local_gateway_route_table_vpc_association <- function(LocalGatewayRouteTableVpcAssociationId, DryRun = NULL) {
op <- new_operation(
name = "DeleteLocalGatewayRouteTableVpcAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_local_gateway_route_table_vpc_association_input(LocalGatewayRouteTableVpcAssociationId = LocalGatewayRouteTableVpcAssociationId, DryRun = DryRun)
output <- .ec2$delete_local_gateway_route_table_vpc_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_local_gateway_route_table_vpc_association <- ec2_delete_local_gateway_route_table_vpc_association
#' Deletes the specified managed prefix list
#'
#' @description
#' Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_managed_prefix_list/](https://www.paws-r-sdk.com/docs/ec2_delete_managed_prefix_list/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PrefixListId [required] The ID of the prefix list.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_managed_prefix_list
ec2_delete_managed_prefix_list <- function(DryRun = NULL, PrefixListId) {
op <- new_operation(
name = "DeleteManagedPrefixList",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_managed_prefix_list_input(DryRun = DryRun, PrefixListId = PrefixListId)
output <- .ec2$delete_managed_prefix_list_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_managed_prefix_list <- ec2_delete_managed_prefix_list
#' Deletes the specified NAT gateway
#'
#' @description
#' Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_nat_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_nat_gateway/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NatGatewayId [required] The ID of the NAT gateway.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_nat_gateway
ec2_delete_nat_gateway <- function(DryRun = NULL, NatGatewayId) {
op <- new_operation(
name = "DeleteNatGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_nat_gateway_input(DryRun = DryRun, NatGatewayId = NatGatewayId)
output <- .ec2$delete_nat_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_nat_gateway <- ec2_delete_nat_gateway
#' Deletes the specified network ACL
#'
#' @description
#' Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_acl/](https://www.paws-r-sdk.com/docs/ec2_delete_network_acl/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkAclId [required] The ID of the network ACL.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_acl
ec2_delete_network_acl <- function(DryRun = NULL, NetworkAclId) {
op <- new_operation(
name = "DeleteNetworkAcl",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_acl_input(DryRun = DryRun, NetworkAclId = NetworkAclId)
output <- .ec2$delete_network_acl_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_acl <- ec2_delete_network_acl
#' Deletes the specified ingress or egress entry (rule) from the specified
#' network ACL
#'
#' @description
#' Deletes the specified ingress or egress entry (rule) from the specified network ACL.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_acl_entry/](https://www.paws-r-sdk.com/docs/ec2_delete_network_acl_entry/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Egress [required] Indicates whether the rule is an egress rule.
#' @param NetworkAclId [required] The ID of the network ACL.
#' @param RuleNumber [required] The rule number of the entry to delete.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_acl_entry
ec2_delete_network_acl_entry <- function(DryRun = NULL, Egress, NetworkAclId, RuleNumber) {
op <- new_operation(
name = "DeleteNetworkAclEntry",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_acl_entry_input(DryRun = DryRun, Egress = Egress, NetworkAclId = NetworkAclId, RuleNumber = RuleNumber)
output <- .ec2$delete_network_acl_entry_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_acl_entry <- ec2_delete_network_acl_entry
#' Deletes the specified Network Access Scope
#'
#' @description
#' Deletes the specified Network Access Scope.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_access_scope/](https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_access_scope/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInsightsAccessScopeId [required] The ID of the Network Access Scope.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_insights_access_scope
ec2_delete_network_insights_access_scope <- function(DryRun = NULL, NetworkInsightsAccessScopeId) {
op <- new_operation(
name = "DeleteNetworkInsightsAccessScope",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_insights_access_scope_input(DryRun = DryRun, NetworkInsightsAccessScopeId = NetworkInsightsAccessScopeId)
output <- .ec2$delete_network_insights_access_scope_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_insights_access_scope <- ec2_delete_network_insights_access_scope
#' Deletes the specified Network Access Scope analysis
#'
#' @description
#' Deletes the specified Network Access Scope analysis.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_access_scope_analysis/](https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_access_scope_analysis/) for full documentation.
#'
#' @param NetworkInsightsAccessScopeAnalysisId [required] The ID of the Network Access Scope analysis.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_insights_access_scope_analysis
ec2_delete_network_insights_access_scope_analysis <- function(NetworkInsightsAccessScopeAnalysisId, DryRun = NULL) {
op <- new_operation(
name = "DeleteNetworkInsightsAccessScopeAnalysis",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_insights_access_scope_analysis_input(NetworkInsightsAccessScopeAnalysisId = NetworkInsightsAccessScopeAnalysisId, DryRun = DryRun)
output <- .ec2$delete_network_insights_access_scope_analysis_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_insights_access_scope_analysis <- ec2_delete_network_insights_access_scope_analysis
#' Deletes the specified network insights analysis
#'
#' @description
#' Deletes the specified network insights analysis.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_analysis/](https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_analysis/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInsightsAnalysisId [required] The ID of the network insights analysis.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_insights_analysis
ec2_delete_network_insights_analysis <- function(DryRun = NULL, NetworkInsightsAnalysisId) {
op <- new_operation(
name = "DeleteNetworkInsightsAnalysis",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_insights_analysis_input(DryRun = DryRun, NetworkInsightsAnalysisId = NetworkInsightsAnalysisId)
output <- .ec2$delete_network_insights_analysis_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_insights_analysis <- ec2_delete_network_insights_analysis
#' Deletes the specified path
#'
#' @description
#' Deletes the specified path.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_path/](https://www.paws-r-sdk.com/docs/ec2_delete_network_insights_path/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInsightsPathId [required] The ID of the path.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_insights_path
ec2_delete_network_insights_path <- function(DryRun = NULL, NetworkInsightsPathId) {
op <- new_operation(
name = "DeleteNetworkInsightsPath",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_insights_path_input(DryRun = DryRun, NetworkInsightsPathId = NetworkInsightsPathId)
output <- .ec2$delete_network_insights_path_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_insights_path <- ec2_delete_network_insights_path
#' Deletes the specified network interface
#'
#' @description
#' Deletes the specified network interface. You must detach the network interface before you can delete it.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_interface/](https://www.paws-r-sdk.com/docs/ec2_delete_network_interface/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_interface
ec2_delete_network_interface <- function(DryRun = NULL, NetworkInterfaceId) {
op <- new_operation(
name = "DeleteNetworkInterface",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_interface_input(DryRun = DryRun, NetworkInterfaceId = NetworkInterfaceId)
output <- .ec2$delete_network_interface_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_interface <- ec2_delete_network_interface
#' Deletes a permission for a network interface
#'
#' @description
#' Deletes a permission for a network interface. By default, you cannot delete the permission if the account for which you're removing the permission has attached the network interface to an instance. However, you can force delete the permission, regardless of any attachment.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_network_interface_permission/](https://www.paws-r-sdk.com/docs/ec2_delete_network_interface_permission/) for full documentation.
#'
#' @param NetworkInterfacePermissionId [required] The ID of the network interface permission.
#' @param Force Specify `true` to remove the permission even if the network interface is
#' attached to an instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_network_interface_permission
ec2_delete_network_interface_permission <- function(NetworkInterfacePermissionId, Force = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeleteNetworkInterfacePermission",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_network_interface_permission_input(NetworkInterfacePermissionId = NetworkInterfacePermissionId, Force = Force, DryRun = DryRun)
output <- .ec2$delete_network_interface_permission_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_network_interface_permission <- ec2_delete_network_interface_permission
#' Deletes the specified placement group
#'
#' @description
#' Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_placement_group/](https://www.paws-r-sdk.com/docs/ec2_delete_placement_group/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupName [required] The name of the placement group.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_placement_group
ec2_delete_placement_group <- function(DryRun = NULL, GroupName) {
op <- new_operation(
name = "DeletePlacementGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_placement_group_input(DryRun = DryRun, GroupName = GroupName)
output <- .ec2$delete_placement_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_placement_group <- ec2_delete_placement_group
#' Delete a public IPv4 pool
#'
#' @description
#' Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_public_ipv_4_pool/](https://www.paws-r-sdk.com/docs/ec2_delete_public_ipv_4_pool/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param PoolId [required] The ID of the public IPv4 pool you want to delete.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_public_ipv_4_pool
ec2_delete_public_ipv_4_pool <- function(DryRun = NULL, PoolId) {
op <- new_operation(
name = "DeletePublicIpv4Pool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_public_ipv_4_pool_input(DryRun = DryRun, PoolId = PoolId)
output <- .ec2$delete_public_ipv_4_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_public_ipv_4_pool <- ec2_delete_public_ipv_4_pool
#' Deletes the queued purchases for the specified Reserved Instances
#'
#' @description
#' Deletes the queued purchases for the specified Reserved Instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_queued_reserved_instances/](https://www.paws-r-sdk.com/docs/ec2_delete_queued_reserved_instances/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ReservedInstancesIds [required] The IDs of the Reserved Instances.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_queued_reserved_instances
ec2_delete_queued_reserved_instances <- function(DryRun = NULL, ReservedInstancesIds) {
op <- new_operation(
name = "DeleteQueuedReservedInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_queued_reserved_instances_input(DryRun = DryRun, ReservedInstancesIds = ReservedInstancesIds)
output <- .ec2$delete_queued_reserved_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_queued_reserved_instances <- ec2_delete_queued_reserved_instances
#' Deletes the specified route from the specified route table
#'
#' @description
#' Deletes the specified route from the specified route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_route/](https://www.paws-r-sdk.com/docs/ec2_delete_route/) for full documentation.
#'
#' @param DestinationCidrBlock The IPv4 CIDR range for the route. The value you specify must match the
#' CIDR for the route exactly.
#' @param DestinationIpv6CidrBlock The IPv6 CIDR range for the route. The value you specify must match the
#' CIDR for the route exactly.
#' @param DestinationPrefixListId The ID of the prefix list for the route.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RouteTableId [required] The ID of the route table.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_route
ec2_delete_route <- function(DestinationCidrBlock = NULL, DestinationIpv6CidrBlock = NULL, DestinationPrefixListId = NULL, DryRun = NULL, RouteTableId) {
op <- new_operation(
name = "DeleteRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_route_input(DestinationCidrBlock = DestinationCidrBlock, DestinationIpv6CidrBlock = DestinationIpv6CidrBlock, DestinationPrefixListId = DestinationPrefixListId, DryRun = DryRun, RouteTableId = RouteTableId)
output <- .ec2$delete_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_route <- ec2_delete_route
#' Deletes the specified route table
#'
#' @description
#' Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_route_table/](https://www.paws-r-sdk.com/docs/ec2_delete_route_table/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RouteTableId [required] The ID of the route table.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_route_table
ec2_delete_route_table <- function(DryRun = NULL, RouteTableId) {
op <- new_operation(
name = "DeleteRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_route_table_input(DryRun = DryRun, RouteTableId = RouteTableId)
output <- .ec2$delete_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_route_table <- ec2_delete_route_table
#' Deletes a security group
#'
#' @description
#' Deletes a security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_security_group/](https://www.paws-r-sdk.com/docs/ec2_delete_security_group/) for full documentation.
#'
#' @param GroupId The ID of the security group.
#' @param GroupName \[Default VPC\] The name of the security group. You can specify either
#' the security group name or the security group ID. For security groups in
#' a nondefault VPC, you must specify the security group ID.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_security_group
ec2_delete_security_group <- function(GroupId = NULL, GroupName = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeleteSecurityGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_security_group_input(GroupId = GroupId, GroupName = GroupName, DryRun = DryRun)
output <- .ec2$delete_security_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_security_group <- ec2_delete_security_group
#' Deletes the specified snapshot
#'
#' @description
#' Deletes the specified snapshot.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_snapshot/](https://www.paws-r-sdk.com/docs/ec2_delete_snapshot/) for full documentation.
#'
#' @param SnapshotId [required] The ID of the EBS snapshot.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_snapshot
ec2_delete_snapshot <- function(SnapshotId, DryRun = NULL) {
op <- new_operation(
name = "DeleteSnapshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_snapshot_input(SnapshotId = SnapshotId, DryRun = DryRun)
output <- .ec2$delete_snapshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_snapshot <- ec2_delete_snapshot
#' Deletes the data feed for Spot Instances
#'
#' @description
#' Deletes the data feed for Spot Instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_spot_datafeed_subscription/](https://www.paws-r-sdk.com/docs/ec2_delete_spot_datafeed_subscription/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_spot_datafeed_subscription
ec2_delete_spot_datafeed_subscription <- function(DryRun = NULL) {
op <- new_operation(
name = "DeleteSpotDatafeedSubscription",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_spot_datafeed_subscription_input(DryRun = DryRun)
output <- .ec2$delete_spot_datafeed_subscription_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_spot_datafeed_subscription <- ec2_delete_spot_datafeed_subscription
#' Deletes the specified subnet
#'
#' @description
#' Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_subnet/](https://www.paws-r-sdk.com/docs/ec2_delete_subnet/) for full documentation.
#'
#' @param SubnetId [required] The ID of the subnet.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_subnet
ec2_delete_subnet <- function(SubnetId, DryRun = NULL) {
op <- new_operation(
name = "DeleteSubnet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_subnet_input(SubnetId = SubnetId, DryRun = DryRun)
output <- .ec2$delete_subnet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_subnet <- ec2_delete_subnet
#' Deletes a subnet CIDR reservation
#'
#' @description
#' Deletes a subnet CIDR reservation.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_subnet_cidr_reservation/](https://www.paws-r-sdk.com/docs/ec2_delete_subnet_cidr_reservation/) for full documentation.
#'
#' @param SubnetCidrReservationId [required] The ID of the subnet CIDR reservation.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_subnet_cidr_reservation
ec2_delete_subnet_cidr_reservation <- function(SubnetCidrReservationId, DryRun = NULL) {
op <- new_operation(
name = "DeleteSubnetCidrReservation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_subnet_cidr_reservation_input(SubnetCidrReservationId = SubnetCidrReservationId, DryRun = DryRun)
output <- .ec2$delete_subnet_cidr_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_subnet_cidr_reservation <- ec2_delete_subnet_cidr_reservation
#' Deletes the specified set of tags from the specified set of resources
#'
#' @description
#' Deletes the specified set of tags from the specified set of resources.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_tags/](https://www.paws-r-sdk.com/docs/ec2_delete_tags/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Resources [required] The IDs of the resources, separated by spaces.
#'
#' Constraints: Up to 1000 resource IDs. We recommend breaking up this
#' request into smaller batches.
#' @param Tags The tags to delete. Specify a tag key and an optional tag value to
#' delete specific tags. If you specify a tag key without a tag value, we
#' delete any tag with this key regardless of its value. If you specify a
#' tag key with an empty string as the tag value, we delete the tag only if
#' its value is an empty string.
#'
#' If you omit this parameter, we delete all user-defined tags for the
#' specified resources. We do not delete Amazon Web Services-generated tags
#' (tags that have the `aws:` prefix).
#'
#' Constraints: Up to 1000 tags.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_tags
ec2_delete_tags <- function(DryRun = NULL, Resources, Tags = NULL) {
op <- new_operation(
name = "DeleteTags",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_tags_input(DryRun = DryRun, Resources = Resources, Tags = Tags)
output <- .ec2$delete_tags_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_tags <- ec2_delete_tags
#' Deletes the specified Traffic Mirror filter
#'
#' @description
#' Deletes the specified Traffic Mirror filter.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_filter/](https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_filter/) for full documentation.
#'
#' @param TrafficMirrorFilterId [required] The ID of the Traffic Mirror filter.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_traffic_mirror_filter
ec2_delete_traffic_mirror_filter <- function(TrafficMirrorFilterId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTrafficMirrorFilter",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_traffic_mirror_filter_input(TrafficMirrorFilterId = TrafficMirrorFilterId, DryRun = DryRun)
output <- .ec2$delete_traffic_mirror_filter_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_traffic_mirror_filter <- ec2_delete_traffic_mirror_filter
#' Deletes the specified Traffic Mirror rule
#'
#' @description
#' Deletes the specified Traffic Mirror rule.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_filter_rule/](https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_filter_rule/) for full documentation.
#'
#' @param TrafficMirrorFilterRuleId [required] The ID of the Traffic Mirror rule.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_traffic_mirror_filter_rule
ec2_delete_traffic_mirror_filter_rule <- function(TrafficMirrorFilterRuleId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTrafficMirrorFilterRule",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_traffic_mirror_filter_rule_input(TrafficMirrorFilterRuleId = TrafficMirrorFilterRuleId, DryRun = DryRun)
output <- .ec2$delete_traffic_mirror_filter_rule_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_traffic_mirror_filter_rule <- ec2_delete_traffic_mirror_filter_rule
#' Deletes the specified Traffic Mirror session
#'
#' @description
#' Deletes the specified Traffic Mirror session.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_session/](https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_session/) for full documentation.
#'
#' @param TrafficMirrorSessionId [required] The ID of the Traffic Mirror session.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_traffic_mirror_session
ec2_delete_traffic_mirror_session <- function(TrafficMirrorSessionId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTrafficMirrorSession",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_traffic_mirror_session_input(TrafficMirrorSessionId = TrafficMirrorSessionId, DryRun = DryRun)
output <- .ec2$delete_traffic_mirror_session_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_traffic_mirror_session <- ec2_delete_traffic_mirror_session
#' Deletes the specified Traffic Mirror target
#'
#' @description
#' Deletes the specified Traffic Mirror target.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_target/](https://www.paws-r-sdk.com/docs/ec2_delete_traffic_mirror_target/) for full documentation.
#'
#' @param TrafficMirrorTargetId [required] The ID of the Traffic Mirror target.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_traffic_mirror_target
ec2_delete_traffic_mirror_target <- function(TrafficMirrorTargetId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTrafficMirrorTarget",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_traffic_mirror_target_input(TrafficMirrorTargetId = TrafficMirrorTargetId, DryRun = DryRun)
output <- .ec2$delete_traffic_mirror_target_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_traffic_mirror_target <- ec2_delete_traffic_mirror_target
#' Deletes the specified transit gateway
#'
#' @description
#' Deletes the specified transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway
ec2_delete_transit_gateway <- function(TransitGatewayId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_input(TransitGatewayId = TransitGatewayId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway <- ec2_delete_transit_gateway
#' Deletes the specified Connect attachment
#'
#' @description
#' Deletes the specified Connect attachment. You must first delete any Connect peers for the attachment.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_connect/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_connect/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the Connect attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_connect
ec2_delete_transit_gateway_connect <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayConnect",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_connect_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_connect_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_connect <- ec2_delete_transit_gateway_connect
#' Deletes the specified Connect peer
#'
#' @description
#' Deletes the specified Connect peer.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_connect_peer/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_connect_peer/) for full documentation.
#'
#' @param TransitGatewayConnectPeerId [required] The ID of the Connect peer.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_connect_peer
ec2_delete_transit_gateway_connect_peer <- function(TransitGatewayConnectPeerId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayConnectPeer",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_connect_peer_input(TransitGatewayConnectPeerId = TransitGatewayConnectPeerId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_connect_peer_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_connect_peer <- ec2_delete_transit_gateway_connect_peer
#' Deletes the specified transit gateway multicast domain
#'
#' @description
#' Deletes the specified transit gateway multicast domain.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_multicast_domain/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_multicast_domain/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_multicast_domain
ec2_delete_transit_gateway_multicast_domain <- function(TransitGatewayMulticastDomainId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayMulticastDomain",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_multicast_domain_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_multicast_domain_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_multicast_domain <- ec2_delete_transit_gateway_multicast_domain
#' Deletes a transit gateway peering attachment
#'
#' @description
#' Deletes a transit gateway peering attachment.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_peering_attachment/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_peering_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the transit gateway peering attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_peering_attachment
ec2_delete_transit_gateway_peering_attachment <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayPeeringAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_peering_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_peering_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_peering_attachment <- ec2_delete_transit_gateway_peering_attachment
#' Deletes the specified transit gateway policy table
#'
#' @description
#' Deletes the specified transit gateway policy table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_policy_table/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_policy_table/) for full documentation.
#'
#' @param TransitGatewayPolicyTableId [required] The transit gateway policy table to delete.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_policy_table
ec2_delete_transit_gateway_policy_table <- function(TransitGatewayPolicyTableId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayPolicyTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_policy_table_input(TransitGatewayPolicyTableId = TransitGatewayPolicyTableId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_policy_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_policy_table <- ec2_delete_transit_gateway_policy_table
#' Deletes a reference (route) to a prefix list in a specified transit
#' gateway route table
#'
#' @description
#' Deletes a reference (route) to a prefix list in a specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_prefix_list_reference/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_prefix_list_reference/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the route table.
#' @param PrefixListId [required] The ID of the prefix list.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_prefix_list_reference
ec2_delete_transit_gateway_prefix_list_reference <- function(TransitGatewayRouteTableId, PrefixListId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayPrefixListReference",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_prefix_list_reference_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, PrefixListId = PrefixListId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_prefix_list_reference_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_prefix_list_reference <- ec2_delete_transit_gateway_prefix_list_reference
#' Deletes the specified route from the specified transit gateway route
#' table
#'
#' @description
#' Deletes the specified route from the specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_route/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_route/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param DestinationCidrBlock [required] The CIDR range for the route. This must match the CIDR for the route
#' exactly.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_route
ec2_delete_transit_gateway_route <- function(TransitGatewayRouteTableId, DestinationCidrBlock, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_route_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, DestinationCidrBlock = DestinationCidrBlock, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_route <- ec2_delete_transit_gateway_route
#' Deletes the specified transit gateway route table
#'
#' @description
#' Deletes the specified transit gateway route table. You must disassociate the route table from any transit gateway route tables before you can delete it.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_route_table/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_route_table/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_route_table
ec2_delete_transit_gateway_route_table <- function(TransitGatewayRouteTableId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_route_table_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_route_table <- ec2_delete_transit_gateway_route_table
#' Advertises to the transit gateway that a transit gateway route table is
#' deleted
#'
#' @description
#' Advertises to the transit gateway that a transit gateway route table is deleted.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_route_table_announcement/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_route_table_announcement/) for full documentation.
#'
#' @param TransitGatewayRouteTableAnnouncementId [required] The transit gateway route table ID that's being deleted.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_route_table_announcement
ec2_delete_transit_gateway_route_table_announcement <- function(TransitGatewayRouteTableAnnouncementId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayRouteTableAnnouncement",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_route_table_announcement_input(TransitGatewayRouteTableAnnouncementId = TransitGatewayRouteTableAnnouncementId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_route_table_announcement_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_route_table_announcement <- ec2_delete_transit_gateway_route_table_announcement
#' Deletes the specified VPC attachment
#'
#' @description
#' Deletes the specified VPC attachment.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_vpc_attachment/](https://www.paws-r-sdk.com/docs/ec2_delete_transit_gateway_vpc_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_transit_gateway_vpc_attachment
ec2_delete_transit_gateway_vpc_attachment <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "DeleteTransitGatewayVpcAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_transit_gateway_vpc_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$delete_transit_gateway_vpc_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_transit_gateway_vpc_attachment <- ec2_delete_transit_gateway_vpc_attachment
#' Delete an Amazon Web Services Verified Access endpoint
#'
#' @description
#' Delete an Amazon Web Services Verified Access endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_endpoint/](https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_endpoint/) for full documentation.
#'
#' @param VerifiedAccessEndpointId [required] The ID of the Verified Access endpoint.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_verified_access_endpoint
ec2_delete_verified_access_endpoint <- function(VerifiedAccessEndpointId, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeleteVerifiedAccessEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_verified_access_endpoint_input(VerifiedAccessEndpointId = VerifiedAccessEndpointId, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$delete_verified_access_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_verified_access_endpoint <- ec2_delete_verified_access_endpoint
#' Delete an Amazon Web Services Verified Access group
#'
#' @description
#' Delete an Amazon Web Services Verified Access group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_group/](https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_group/) for full documentation.
#'
#' @param VerifiedAccessGroupId [required] The ID of the Verified Access group.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_verified_access_group
ec2_delete_verified_access_group <- function(VerifiedAccessGroupId, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeleteVerifiedAccessGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_verified_access_group_input(VerifiedAccessGroupId = VerifiedAccessGroupId, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$delete_verified_access_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_verified_access_group <- ec2_delete_verified_access_group
#' Delete an Amazon Web Services Verified Access instance
#'
#' @description
#' Delete an Amazon Web Services Verified Access instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_instance/](https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_instance/) for full documentation.
#'
#' @param VerifiedAccessInstanceId [required] The ID of the Verified Access instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_delete_verified_access_instance
ec2_delete_verified_access_instance <- function(VerifiedAccessInstanceId, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "DeleteVerifiedAccessInstance",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_verified_access_instance_input(VerifiedAccessInstanceId = VerifiedAccessInstanceId, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$delete_verified_access_instance_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_verified_access_instance <- ec2_delete_verified_access_instance
#' Delete an Amazon Web Services Verified Access trust provider
#'
#' @description
#' Delete an Amazon Web Services Verified Access trust provider.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_trust_provider/](https://www.paws-r-sdk.com/docs/ec2_delete_verified_access_trust_provider/) for full documentation.
#'
#' @param VerifiedAccessTrustProviderId [required] The ID of the Verified Access trust provider.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_delete_verified_access_trust_provider
ec2_delete_verified_access_trust_provider <- function(VerifiedAccessTrustProviderId, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "DeleteVerifiedAccessTrustProvider",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_verified_access_trust_provider_input(VerifiedAccessTrustProviderId = VerifiedAccessTrustProviderId, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$delete_verified_access_trust_provider_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_verified_access_trust_provider <- ec2_delete_verified_access_trust_provider
#' Deletes the specified EBS volume
#'
#' @description
#' Deletes the specified EBS volume. The volume must be in the `available` state (not attached to an instance).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_volume/](https://www.paws-r-sdk.com/docs/ec2_delete_volume/) for full documentation.
#'
#' @param VolumeId [required] The ID of the volume.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_volume
ec2_delete_volume <- function(VolumeId, DryRun = NULL) {
op <- new_operation(
name = "DeleteVolume",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_volume_input(VolumeId = VolumeId, DryRun = DryRun)
output <- .ec2$delete_volume_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_volume <- ec2_delete_volume
#' Deletes the specified VPC
#'
#' @description
#' Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpc/](https://www.paws-r-sdk.com/docs/ec2_delete_vpc/) for full documentation.
#'
#' @param VpcId [required] The ID of the VPC.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpc
ec2_delete_vpc <- function(VpcId, DryRun = NULL) {
op <- new_operation(
name = "DeleteVpc",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpc_input(VpcId = VpcId, DryRun = DryRun)
output <- .ec2$delete_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpc <- ec2_delete_vpc
#' Deletes the specified VPC endpoint connection notifications
#'
#' @description
#' Deletes the specified VPC endpoint connection notifications.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpc_endpoint_connection_notifications/](https://www.paws-r-sdk.com/docs/ec2_delete_vpc_endpoint_connection_notifications/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ConnectionNotificationIds [required] The IDs of the notifications.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpc_endpoint_connection_notifications
ec2_delete_vpc_endpoint_connection_notifications <- function(DryRun = NULL, ConnectionNotificationIds) {
op <- new_operation(
name = "DeleteVpcEndpointConnectionNotifications",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpc_endpoint_connection_notifications_input(DryRun = DryRun, ConnectionNotificationIds = ConnectionNotificationIds)
output <- .ec2$delete_vpc_endpoint_connection_notifications_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpc_endpoint_connection_notifications <- ec2_delete_vpc_endpoint_connection_notifications
#' Deletes the specified VPC endpoint service configurations
#'
#' @description
#' Deletes the specified VPC endpoint service configurations. Before you can delete an endpoint service configuration, you must reject any `Available` or `PendingAcceptance` interface endpoint connections that are attached to the service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpc_endpoint_service_configurations/](https://www.paws-r-sdk.com/docs/ec2_delete_vpc_endpoint_service_configurations/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceIds [required] The IDs of the services.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpc_endpoint_service_configurations
ec2_delete_vpc_endpoint_service_configurations <- function(DryRun = NULL, ServiceIds) {
op <- new_operation(
name = "DeleteVpcEndpointServiceConfigurations",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpc_endpoint_service_configurations_input(DryRun = DryRun, ServiceIds = ServiceIds)
output <- .ec2$delete_vpc_endpoint_service_configurations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpc_endpoint_service_configurations <- ec2_delete_vpc_endpoint_service_configurations
#' Deletes the specified VPC endpoints
#'
#' @description
#' Deletes the specified VPC endpoints.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpc_endpoints/](https://www.paws-r-sdk.com/docs/ec2_delete_vpc_endpoints/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcEndpointIds [required] The IDs of the VPC endpoints.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpc_endpoints
ec2_delete_vpc_endpoints <- function(DryRun = NULL, VpcEndpointIds) {
op <- new_operation(
name = "DeleteVpcEndpoints",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpc_endpoints_input(DryRun = DryRun, VpcEndpointIds = VpcEndpointIds)
output <- .ec2$delete_vpc_endpoints_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpc_endpoints <- ec2_delete_vpc_endpoints
#' Deletes a VPC peering connection
#'
#' @description
#' Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the `active` state. The owner of the requester VPC can delete a VPC peering connection in the `pending-acceptance` state. You cannot delete a VPC peering connection that's in the `failed` or `rejected` state.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpc_peering_connection/](https://www.paws-r-sdk.com/docs/ec2_delete_vpc_peering_connection/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcPeeringConnectionId [required] The ID of the VPC peering connection.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpc_peering_connection
ec2_delete_vpc_peering_connection <- function(DryRun = NULL, VpcPeeringConnectionId) {
op <- new_operation(
name = "DeleteVpcPeeringConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpc_peering_connection_input(DryRun = DryRun, VpcPeeringConnectionId = VpcPeeringConnectionId)
output <- .ec2$delete_vpc_peering_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpc_peering_connection <- ec2_delete_vpc_peering_connection
#' Deletes the specified VPN connection
#'
#' @description
#' Deletes the specified VPN connection.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpn_connection/](https://www.paws-r-sdk.com/docs/ec2_delete_vpn_connection/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the VPN connection.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpn_connection
ec2_delete_vpn_connection <- function(VpnConnectionId, DryRun = NULL) {
op <- new_operation(
name = "DeleteVpnConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpn_connection_input(VpnConnectionId = VpnConnectionId, DryRun = DryRun)
output <- .ec2$delete_vpn_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpn_connection <- ec2_delete_vpn_connection
#' Deletes the specified static route associated with a VPN connection
#' between an existing virtual private gateway and a VPN customer gateway
#'
#' @description
#' Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpn_connection_route/](https://www.paws-r-sdk.com/docs/ec2_delete_vpn_connection_route/) for full documentation.
#'
#' @param DestinationCidrBlock [required] The CIDR block associated with the local subnet of the customer network.
#' @param VpnConnectionId [required] The ID of the VPN connection.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpn_connection_route
ec2_delete_vpn_connection_route <- function(DestinationCidrBlock, VpnConnectionId) {
op <- new_operation(
name = "DeleteVpnConnectionRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpn_connection_route_input(DestinationCidrBlock = DestinationCidrBlock, VpnConnectionId = VpnConnectionId)
output <- .ec2$delete_vpn_connection_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpn_connection_route <- ec2_delete_vpn_connection_route
#' Deletes the specified virtual private gateway
#'
#' @description
#' Deletes the specified virtual private gateway. You must first detach the virtual private gateway from the VPC. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_delete_vpn_gateway/](https://www.paws-r-sdk.com/docs/ec2_delete_vpn_gateway/) for full documentation.
#'
#' @param VpnGatewayId [required] The ID of the virtual private gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_delete_vpn_gateway
ec2_delete_vpn_gateway <- function(VpnGatewayId, DryRun = NULL) {
op <- new_operation(
name = "DeleteVpnGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$delete_vpn_gateway_input(VpnGatewayId = VpnGatewayId, DryRun = DryRun)
output <- .ec2$delete_vpn_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$delete_vpn_gateway <- ec2_delete_vpn_gateway
#' Releases the specified address range that you provisioned for use with
#' your Amazon Web Services resources through bring your own IP addresses
#' (BYOIP) and deletes the corresponding address pool
#'
#' @description
#' Releases the specified address range that you provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deprovision_byoip_cidr/](https://www.paws-r-sdk.com/docs/ec2_deprovision_byoip_cidr/) for full documentation.
#'
#' @param Cidr [required] The address range, in CIDR notation. The prefix must be the same prefix
#' that you specified when you provisioned the address range.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_deprovision_byoip_cidr
ec2_deprovision_byoip_cidr <- function(Cidr, DryRun = NULL) {
op <- new_operation(
name = "DeprovisionByoipCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deprovision_byoip_cidr_input(Cidr = Cidr, DryRun = DryRun)
output <- .ec2$deprovision_byoip_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deprovision_byoip_cidr <- ec2_deprovision_byoip_cidr
#' Deprovisions your Autonomous System Number (ASN) from your Amazon Web
#' Services account
#'
#' @description
#' Deprovisions your Autonomous System Number (ASN) from your Amazon Web Services account. This action can only be called after any BYOIP CIDR associations are removed from your Amazon Web Services account with [`disassociate_ipam_byoasn`][ec2_disassociate_ipam_byoasn]. For more information, see [Tutorial: Bring your ASN to IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) in the *Amazon VPC IPAM guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deprovision_ipam_byoasn/](https://www.paws-r-sdk.com/docs/ec2_deprovision_ipam_byoasn/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param IpamId [required] The IPAM ID.
#' @param Asn [required] An ASN.
#'
#' @keywords internal
#'
#' @rdname ec2_deprovision_ipam_byoasn
ec2_deprovision_ipam_byoasn <- function(DryRun = NULL, IpamId, Asn) {
op <- new_operation(
name = "DeprovisionIpamByoasn",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deprovision_ipam_byoasn_input(DryRun = DryRun, IpamId = IpamId, Asn = Asn)
output <- .ec2$deprovision_ipam_byoasn_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deprovision_ipam_byoasn <- ec2_deprovision_ipam_byoasn
#' Deprovision a CIDR provisioned from an IPAM pool
#'
#' @description
#' Deprovision a CIDR provisioned from an IPAM pool. If you deprovision a CIDR from a pool that has a source pool, the CIDR is recycled back into the source pool. For more information, see [Deprovision pool CIDRs](https://docs.aws.amazon.com/vpc/latest/ipam/depro-pool-cidr-ipam.html) in the *Amazon VPC IPAM User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deprovision_ipam_pool_cidr/](https://www.paws-r-sdk.com/docs/ec2_deprovision_ipam_pool_cidr/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the pool that has the CIDR you want to deprovision.
#' @param Cidr The CIDR which you want to deprovision from the pool.
#'
#' @keywords internal
#'
#' @rdname ec2_deprovision_ipam_pool_cidr
ec2_deprovision_ipam_pool_cidr <- function(DryRun = NULL, IpamPoolId, Cidr = NULL) {
op <- new_operation(
name = "DeprovisionIpamPoolCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deprovision_ipam_pool_cidr_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Cidr = Cidr)
output <- .ec2$deprovision_ipam_pool_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deprovision_ipam_pool_cidr <- ec2_deprovision_ipam_pool_cidr
#' Deprovision a CIDR from a public IPv4 pool
#'
#' @description
#' Deprovision a CIDR from a public IPv4 pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deprovision_public_ipv_4_pool_cidr/](https://www.paws-r-sdk.com/docs/ec2_deprovision_public_ipv_4_pool_cidr/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param PoolId [required] The ID of the pool that you want to deprovision the CIDR from.
#' @param Cidr [required] The CIDR you want to deprovision from the pool. Enter the CIDR you want
#' to deprovision with a netmask of `/32`. You must rerun this command for
#' each IP address in the CIDR range. If your CIDR is a `/24`, you will
#' have to run this command to deprovision each of the 256 IP addresses in
#' the `/24` CIDR.
#'
#' @keywords internal
#'
#' @rdname ec2_deprovision_public_ipv_4_pool_cidr
ec2_deprovision_public_ipv_4_pool_cidr <- function(DryRun = NULL, PoolId, Cidr) {
op <- new_operation(
name = "DeprovisionPublicIpv4PoolCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deprovision_public_ipv_4_pool_cidr_input(DryRun = DryRun, PoolId = PoolId, Cidr = Cidr)
output <- .ec2$deprovision_public_ipv_4_pool_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deprovision_public_ipv_4_pool_cidr <- ec2_deprovision_public_ipv_4_pool_cidr
#' Deregisters the specified AMI
#'
#' @description
#' Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deregister_image/](https://www.paws-r-sdk.com/docs/ec2_deregister_image/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_deregister_image
ec2_deregister_image <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "DeregisterImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deregister_image_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$deregister_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deregister_image <- ec2_deregister_image
#' Deregisters tag keys to prevent tags that have the specified tag keys
#' from being included in scheduled event notifications for resources in
#' the Region
#'
#' @description
#' Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deregister_instance_event_notification_attributes/](https://www.paws-r-sdk.com/docs/ec2_deregister_instance_event_notification_attributes/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceTagAttribute [required] Information about the tag keys to deregister.
#'
#' @keywords internal
#'
#' @rdname ec2_deregister_instance_event_notification_attributes
ec2_deregister_instance_event_notification_attributes <- function(DryRun = NULL, InstanceTagAttribute) {
op <- new_operation(
name = "DeregisterInstanceEventNotificationAttributes",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deregister_instance_event_notification_attributes_input(DryRun = DryRun, InstanceTagAttribute = InstanceTagAttribute)
output <- .ec2$deregister_instance_event_notification_attributes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deregister_instance_event_notification_attributes <- ec2_deregister_instance_event_notification_attributes
#' Deregisters the specified members (network interfaces) from the transit
#' gateway multicast group
#'
#' @description
#' Deregisters the specified members (network interfaces) from the transit gateway multicast group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deregister_transit_gateway_multicast_group_members/](https://www.paws-r-sdk.com/docs/ec2_deregister_transit_gateway_multicast_group_members/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId The ID of the transit gateway multicast domain.
#' @param GroupIpAddress The IP address assigned to the transit gateway multicast group.
#' @param NetworkInterfaceIds The IDs of the group members' network interfaces.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_deregister_transit_gateway_multicast_group_members
ec2_deregister_transit_gateway_multicast_group_members <- function(TransitGatewayMulticastDomainId = NULL, GroupIpAddress = NULL, NetworkInterfaceIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeregisterTransitGatewayMulticastGroupMembers",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deregister_transit_gateway_multicast_group_members_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, GroupIpAddress = GroupIpAddress, NetworkInterfaceIds = NetworkInterfaceIds, DryRun = DryRun)
output <- .ec2$deregister_transit_gateway_multicast_group_members_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deregister_transit_gateway_multicast_group_members <- ec2_deregister_transit_gateway_multicast_group_members
#' Deregisters the specified sources (network interfaces) from the transit
#' gateway multicast group
#'
#' @description
#' Deregisters the specified sources (network interfaces) from the transit gateway multicast group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_deregister_transit_gateway_multicast_group_sources/](https://www.paws-r-sdk.com/docs/ec2_deregister_transit_gateway_multicast_group_sources/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId The ID of the transit gateway multicast domain.
#' @param GroupIpAddress The IP address assigned to the transit gateway multicast group.
#' @param NetworkInterfaceIds The IDs of the group sources' network interfaces.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_deregister_transit_gateway_multicast_group_sources
ec2_deregister_transit_gateway_multicast_group_sources <- function(TransitGatewayMulticastDomainId = NULL, GroupIpAddress = NULL, NetworkInterfaceIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DeregisterTransitGatewayMulticastGroupSources",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$deregister_transit_gateway_multicast_group_sources_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, GroupIpAddress = GroupIpAddress, NetworkInterfaceIds = NetworkInterfaceIds, DryRun = DryRun)
output <- .ec2$deregister_transit_gateway_multicast_group_sources_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$deregister_transit_gateway_multicast_group_sources <- ec2_deregister_transit_gateway_multicast_group_sources
#' Describes attributes of your Amazon Web Services account
#'
#' @description
#' Describes attributes of your Amazon Web Services account. The following are the supported account attributes:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_account_attributes/](https://www.paws-r-sdk.com/docs/ec2_describe_account_attributes/) for full documentation.
#'
#' @param AttributeNames The account attribute names.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_account_attributes
ec2_describe_account_attributes <- function(AttributeNames = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeAccountAttributes",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "AccountAttributes")
)
input <- .ec2$describe_account_attributes_input(AttributeNames = AttributeNames, DryRun = DryRun)
output <- .ec2$describe_account_attributes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_account_attributes <- ec2_describe_account_attributes
#' Describes an Elastic IP address transfer
#'
#' @description
#' Describes an Elastic IP address transfer. For more information, see [Transfer Elastic IP addresses](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro) in the *Amazon Virtual Private Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_address_transfers/](https://www.paws-r-sdk.com/docs/ec2_describe_address_transfers/) for full documentation.
#'
#' @param AllocationIds The allocation IDs of Elastic IP addresses.
#' @param NextToken Specify the pagination token from a previous request to retrieve the
#' next page of results.
#' @param MaxResults The maximum number of address transfers to return in one page of
#' results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_address_transfers
ec2_describe_address_transfers <- function(AllocationIds = NULL, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeAddressTransfers",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "AddressTransfers")
)
input <- .ec2$describe_address_transfers_input(AllocationIds = AllocationIds, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$describe_address_transfers_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_address_transfers <- ec2_describe_address_transfers
#' Describes the specified Elastic IP addresses or all of your Elastic IP
#' addresses
#'
#' @description
#' Describes the specified Elastic IP addresses or all of your Elastic IP addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_addresses/](https://www.paws-r-sdk.com/docs/ec2_describe_addresses/) for full documentation.
#'
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `allocation-id` - The allocation ID for the address.
#'
#' - `association-id` - The association ID for the address.
#'
#' - `instance-id` - The ID of the instance the address is associated
#' with, if any.
#'
#' - `network-border-group` - A unique set of Availability Zones, Local
#' Zones, or Wavelength Zones from where Amazon Web Services advertises
#' IP addresses.
#'
#' - `network-interface-id` - The ID of the network interface that the
#' address is associated with, if any.
#'
#' - `network-interface-owner-id` - The Amazon Web Services account ID of
#' the owner.
#'
#' - `private-ip-address` - The private IP address associated with the
#' Elastic IP address.
#'
#' - `public-ip` - The Elastic IP address, or the carrier IP address.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param PublicIps One or more Elastic IP addresses.
#'
#' Default: Describes all your Elastic IP addresses.
#' @param AllocationIds Information about the allocation IDs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_addresses
ec2_describe_addresses <- function(Filters = NULL, PublicIps = NULL, AllocationIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeAddresses",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "Addresses")
)
input <- .ec2$describe_addresses_input(Filters = Filters, PublicIps = PublicIps, AllocationIds = AllocationIds, DryRun = DryRun)
output <- .ec2$describe_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_addresses <- ec2_describe_addresses
#' Describes the attributes of the specified Elastic IP addresses
#'
#' @description
#' Describes the attributes of the specified Elastic IP addresses. For requirements, see [Using reverse DNS for email applications](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_addresses_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_addresses_attribute/) for full documentation.
#'
#' @param AllocationIds \[EC2-VPC\] The allocation IDs.
#' @param Attribute The attribute of the IP address.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_addresses_attribute
ec2_describe_addresses_attribute <- function(AllocationIds = NULL, Attribute = NULL, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeAddressesAttribute",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Addresses")
)
input <- .ec2$describe_addresses_attribute_input(AllocationIds = AllocationIds, Attribute = Attribute, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$describe_addresses_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_addresses_attribute <- ec2_describe_addresses_attribute
#' Describes the longer ID format settings for all resource types in a
#' specific Region
#'
#' @description
#' Describes the longer ID format settings for all resource types in a specific Region. This request is useful for performing a quick audit to determine whether a specific Region is fully opted in for longer IDs (17-character IDs).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_aggregate_id_format/](https://www.paws-r-sdk.com/docs/ec2_describe_aggregate_id_format/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_aggregate_id_format
ec2_describe_aggregate_id_format <- function(DryRun = NULL) {
op <- new_operation(
name = "DescribeAggregateIdFormat",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_aggregate_id_format_input(DryRun = DryRun)
output <- .ec2$describe_aggregate_id_format_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_aggregate_id_format <- ec2_describe_aggregate_id_format
#' Describes the Availability Zones, Local Zones, and Wavelength Zones that
#' are available to you
#'
#' @description
#' Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_availability_zones/](https://www.paws-r-sdk.com/docs/ec2_describe_availability_zones/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `group-name` - For Availability Zones, use the Region name. For
#' Local Zones, use the name of the group associated with the Local
#' Zone (for example, `us-west-2-lax-1`) For Wavelength Zones, use the
#' name of the group associated with the Wavelength Zone (for example,
#' `us-east-1-wl1`).
#'
#' - `message` - The Zone message.
#'
#' - `opt-in-status` - The opt-in status (`opted-in` | `not-opted-in` |
#' `opt-in-not-required`).
#'
#' - `parent-zone-id` - The ID of the zone that handles some of the Local
#' Zone and Wavelength Zone control plane operations, such as API
#' calls.
#'
#' - `parent-zone-name` - The ID of the zone that handles some of the
#' Local Zone and Wavelength Zone control plane operations, such as API
#' calls.
#'
#' - `region-name` - The name of the Region for the Zone (for example,
#' `us-east-1`).
#'
#' - `state` - The state of the Availability Zone, the Local Zone, or the
#' Wavelength Zone (`available`).
#'
#' - `zone-id` - The ID of the Availability Zone (for example,
#' `use1-az1`), the Local Zone (for example, `usw2-lax1-az1`), or the
#' Wavelength Zone (for example, `us-east-1-wl1-bos-wlz-1`).
#'
#' - `zone-name` - The name of the Availability Zone (for example,
#' `us-east-1a`), the Local Zone (for example, `us-west-2-lax-1a`), or
#' the Wavelength Zone (for example, `us-east-1-wl1-bos-wlz-1`).
#'
#' - `zone-type` - The type of zone (`availability-zone` | `local-zone` |
#' `wavelength-zone`).
#' @param ZoneNames The names of the Availability Zones, Local Zones, and Wavelength Zones.
#' @param ZoneIds The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
#' @param AllAvailabilityZones Include all Availability Zones, Local Zones, and Wavelength Zones
#' regardless of your opt-in status.
#'
#' If you do not use this parameter, the results include only the zones for
#' the Regions where you have chosen the option to opt in.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_availability_zones
ec2_describe_availability_zones <- function(Filters = NULL, ZoneNames = NULL, ZoneIds = NULL, AllAvailabilityZones = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeAvailabilityZones",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "AvailabilityZones")
)
input <- .ec2$describe_availability_zones_input(Filters = Filters, ZoneNames = ZoneNames, ZoneIds = ZoneIds, AllAvailabilityZones = AllAvailabilityZones, DryRun = DryRun)
output <- .ec2$describe_availability_zones_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_availability_zones <- ec2_describe_availability_zones
#' Describes the current Infrastructure Performance metric subscriptions
#'
#' @description
#' Describes the current Infrastructure Performance metric subscriptions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_aws_network_performance_metric_subscriptions/](https://www.paws-r-sdk.com/docs/ec2_describe_aws_network_performance_metric_subscriptions/) for full documentation.
#'
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param Filters One or more filters.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_aws_network_performance_metric_subscriptions
ec2_describe_aws_network_performance_metric_subscriptions <- function(MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeAwsNetworkPerformanceMetricSubscriptions",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Subscriptions")
)
input <- .ec2$describe_aws_network_performance_metric_subscriptions_input(MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_aws_network_performance_metric_subscriptions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_aws_network_performance_metric_subscriptions <- ec2_describe_aws_network_performance_metric_subscriptions
#' Describes the specified bundle tasks or all of your bundle tasks
#'
#' @description
#' Describes the specified bundle tasks or all of your bundle tasks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_bundle_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_bundle_tasks/) for full documentation.
#'
#' @param BundleIds The bundle task IDs.
#'
#' Default: Describes all your bundle tasks.
#' @param Filters The filters.
#'
#' - `bundle-id` - The ID of the bundle task.
#'
#' - `error-code` - If the task failed, the error code returned.
#'
#' - `error-message` - If the task failed, the error message returned.
#'
#' - `instance-id` - The ID of the instance.
#'
#' - `progress` - The level of task completion, as a percentage (for
#' example, 20%).
#'
#' - `s3-bucket` - The Amazon S3 bucket to store the AMI.
#'
#' - `s3-prefix` - The beginning of the AMI name.
#'
#' - `start-time` - The time the task started (for example,
#' 2013-09-15T17:15:20.000Z).
#'
#' - `state` - The state of the task (`pending` | `waiting-for-shutdown`
#' | `bundling` | `storing` | `cancelling` | `complete` | `failed`).
#'
#' - `update-time` - The time of the most recent update for the task.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_bundle_tasks
ec2_describe_bundle_tasks <- function(BundleIds = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeBundleTasks",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "BundleTasks")
)
input <- .ec2$describe_bundle_tasks_input(BundleIds = BundleIds, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_bundle_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_bundle_tasks <- ec2_describe_bundle_tasks
#' Describes the IP address ranges that were specified in calls to
#' ProvisionByoipCidr
#'
#' @description
#' Describes the IP address ranges that were specified in calls to [`provision_byoip_cidr`][ec2_provision_byoip_cidr].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_byoip_cidrs/](https://www.paws-r-sdk.com/docs/ec2_describe_byoip_cidrs/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults [required] The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_byoip_cidrs
ec2_describe_byoip_cidrs <- function(DryRun = NULL, MaxResults, NextToken = NULL) {
op <- new_operation(
name = "DescribeByoipCidrs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ByoipCidrs")
)
input <- .ec2$describe_byoip_cidrs_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_byoip_cidrs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_byoip_cidrs <- ec2_describe_byoip_cidrs
#' Describes Capacity Block offerings available for purchase in the Amazon
#' Web Services Region that you're currently using
#'
#' @description
#' Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a specific instance type for a period of time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_capacity_block_offerings/](https://www.paws-r-sdk.com/docs/ec2_describe_capacity_block_offerings/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceType [required] The type of instance for which the Capacity Block offering reserves
#' capacity.
#' @param InstanceCount [required] The number of instances for which to reserve capacity.
#' @param StartDateRange The earliest start date for the Capacity Block offering.
#' @param EndDateRange The latest end date for the Capacity Block offering.
#' @param CapacityDurationHours [required] The number of hours for which to reserve Capacity Block.
#' @param NextToken The token to use to retrieve the next page of results.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_capacity_block_offerings
ec2_describe_capacity_block_offerings <- function(DryRun = NULL, InstanceType, InstanceCount, StartDateRange = NULL, EndDateRange = NULL, CapacityDurationHours, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeCapacityBlockOfferings",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "CapacityBlockOfferings")
)
input <- .ec2$describe_capacity_block_offerings_input(DryRun = DryRun, InstanceType = InstanceType, InstanceCount = InstanceCount, StartDateRange = StartDateRange, EndDateRange = EndDateRange, CapacityDurationHours = CapacityDurationHours, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_capacity_block_offerings_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_capacity_block_offerings <- ec2_describe_capacity_block_offerings
#' Describes one or more Capacity Reservation Fleets
#'
#' @description
#' Describes one or more Capacity Reservation Fleets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_capacity_reservation_fleets/](https://www.paws-r-sdk.com/docs/ec2_describe_capacity_reservation_fleets/) for full documentation.
#'
#' @param CapacityReservationFleetIds The IDs of the Capacity Reservation Fleets to describe.
#' @param NextToken The token to use to retrieve the next page of results.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param Filters One or more filters.
#'
#' - `state` - The state of the Fleet (`submitted` | `modifying` |
#' `active` | `partially_fulfilled` | `expiring` | `expired` |
#' `cancelling` | `cancelled` | `failed`).
#'
#' - `instance-match-criteria` - The instance matching criteria for the
#' Fleet. Only `open` is supported.
#'
#' - `tenancy` - The tenancy of the Fleet (`default` | `dedicated`).
#'
#' - `allocation-strategy` - The allocation strategy used by the Fleet.
#' Only `prioritized` is supported.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_capacity_reservation_fleets
ec2_describe_capacity_reservation_fleets <- function(CapacityReservationFleetIds = NULL, NextToken = NULL, MaxResults = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeCapacityReservationFleets",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "CapacityReservationFleets")
)
input <- .ec2$describe_capacity_reservation_fleets_input(CapacityReservationFleetIds = CapacityReservationFleetIds, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_capacity_reservation_fleets_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_capacity_reservation_fleets <- ec2_describe_capacity_reservation_fleets
#' Describes one or more of your Capacity Reservations
#'
#' @description
#' Describes one or more of your Capacity Reservations. The results describe only the Capacity Reservations in the Amazon Web Services Region that you're currently using.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_capacity_reservations/](https://www.paws-r-sdk.com/docs/ec2_describe_capacity_reservations/) for full documentation.
#'
#' @param CapacityReservationIds The ID of the Capacity Reservation.
#' @param NextToken The token to use to retrieve the next page of results.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param Filters One or more filters.
#'
#' - `instance-type` - The type of instance for which the Capacity
#' Reservation reserves capacity.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' Capacity Reservation.
#'
#' - `instance-platform` - The type of operating system for which the
#' Capacity Reservation reserves capacity.
#'
#' - `availability-zone` - The Availability Zone of the Capacity
#' Reservation.
#'
#' - `tenancy` - Indicates the tenancy of the Capacity Reservation. A
#' Capacity Reservation can have one of the following tenancy settings:
#'
#' - `default` - The Capacity Reservation is created on hardware that
#' is shared with other Amazon Web Services accounts.
#'
#' - `dedicated` - The Capacity Reservation is created on
#' single-tenant hardware that is dedicated to a single Amazon Web
#' Services account.
#'
#' - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on
#' which the Capacity Reservation was created.
#'
#' - `state` - The current state of the Capacity Reservation. A Capacity
#' Reservation can be in one of the following states:
#'
#' - `active`- The Capacity Reservation is active and the capacity is
#' available for your use.
#'
#' - `expired` - The Capacity Reservation expired automatically at
#' the date and time specified in your request. The reserved
#' capacity is no longer available for your use.
#'
#' - `cancelled` - The Capacity Reservation was cancelled. The
#' reserved capacity is no longer available for your use.
#'
#' - `pending` - The Capacity Reservation request was successful but
#' the capacity provisioning is still pending.
#'
#' - `failed` - The Capacity Reservation request has failed. A
#' request might fail due to invalid request parameters, capacity
#' constraints, or instance limit constraints. Failed requests are
#' retained for 60 minutes.
#'
#' - `start-date` - The date and time at which the Capacity Reservation
#' was started.
#'
#' - `end-date` - The date and time at which the Capacity Reservation
#' expires. When a Capacity Reservation expires, the reserved capacity
#' is released and you can no longer launch instances into it. The
#' Capacity Reservation's state changes to expired when it reaches its
#' end date and time.
#'
#' - `end-date-type` - Indicates the way in which the Capacity
#' Reservation ends. A Capacity Reservation can have one of the
#' following end types:
#'
#' - `unlimited` - The Capacity Reservation remains active until you
#' explicitly cancel it.
#'
#' - `limited` - The Capacity Reservation expires automatically at a
#' specified date and time.
#'
#' - `instance-match-criteria` - Indicates the type of instance launches
#' that the Capacity Reservation accepts. The options include:
#'
#' - `open` - The Capacity Reservation accepts all instances that
#' have matching attributes (instance type, platform, and
#' Availability Zone). Instances that have matching attributes
#' launch into the Capacity Reservation automatically without
#' specifying any additional parameters.
#'
#' - `targeted` - The Capacity Reservation only accepts instances
#' that have matching attributes (instance type, platform, and
#' Availability Zone), and explicitly target the Capacity
#' Reservation. This ensures that only permitted instances can use
#' the reserved capacity.
#'
#' - `placement-group-arn` - The ARN of the cluster placement group in
#' which the Capacity Reservation was created.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_capacity_reservations
ec2_describe_capacity_reservations <- function(CapacityReservationIds = NULL, NextToken = NULL, MaxResults = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeCapacityReservations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "CapacityReservations")
)
input <- .ec2$describe_capacity_reservations_input(CapacityReservationIds = CapacityReservationIds, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_capacity_reservations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_capacity_reservations <- ec2_describe_capacity_reservations
#' Describes one or more of your carrier gateways
#'
#' @description
#' Describes one or more of your carrier gateways.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_carrier_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_carrier_gateways/) for full documentation.
#'
#' @param CarrierGatewayIds One or more carrier gateway IDs.
#' @param Filters One or more filters.
#'
#' - `carrier-gateway-id` - The ID of the carrier gateway.
#'
#' - `state` - The state of the carrier gateway (`pending` | `failed` |
#' `available` | `deleting` | `deleted`).
#'
#' - `owner-id` - The Amazon Web Services account ID of the owner of the
#' carrier gateway.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC associated with the carrier gateway.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_carrier_gateways
ec2_describe_carrier_gateways <- function(CarrierGatewayIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeCarrierGateways",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "CarrierGateways")
)
input <- .ec2$describe_carrier_gateways_input(CarrierGatewayIds = CarrierGatewayIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_carrier_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_carrier_gateways <- ec2_describe_carrier_gateways
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_classic_link_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_classic_link_instances/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `group-id` - The ID of a VPC security group that's associated with
#' the instance.
#'
#' - `instance-id` - The ID of the instance.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC to which the instance is linked.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceIds The instance IDs. Must be instances linked to a VPC through ClassicLink.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' Constraint: If the value is greater than 1000, we return only 1000
#' items.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_classic_link_instances
ec2_describe_classic_link_instances <- function(Filters = NULL, DryRun = NULL, InstanceIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeClassicLinkInstances",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Instances")
)
input <- .ec2$describe_classic_link_instances_input(Filters = Filters, DryRun = DryRun, InstanceIds = InstanceIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_classic_link_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_classic_link_instances <- ec2_describe_classic_link_instances
#' Describes the authorization rules for a specified Client VPN endpoint
#'
#' @description
#' Describes the authorization rules for a specified Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_authorization_rules/](https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_authorization_rules/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token to retrieve the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `description` - The description of the authorization rule.
#'
#' - `destination-cidr` - The CIDR of the network to which the
#' authorization rule applies.
#'
#' - `group-id` - The ID of the Active Directory group to which the
#' authorization rule grants access.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the nextToken value.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_client_vpn_authorization_rules
ec2_describe_client_vpn_authorization_rules <- function(ClientVpnEndpointId, DryRun = NULL, NextToken = NULL, Filters = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeClientVpnAuthorizationRules",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "AuthorizationRules")
)
input <- .ec2$describe_client_vpn_authorization_rules_input(ClientVpnEndpointId = ClientVpnEndpointId, DryRun = DryRun, NextToken = NextToken, Filters = Filters, MaxResults = MaxResults)
output <- .ec2$describe_client_vpn_authorization_rules_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_client_vpn_authorization_rules <- ec2_describe_client_vpn_authorization_rules
#' Describes active client connections and connections that have been
#' terminated within the last 60 minutes for the specified Client VPN
#' endpoint
#'
#' @description
#' Describes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_connections/](https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_connections/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `connection-id` - The ID of the connection.
#'
#' - `username` - For Active Directory client authentication, the user
#' name of the client who established the client connection.
#' @param NextToken The token to retrieve the next page of results.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the nextToken value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_client_vpn_connections
ec2_describe_client_vpn_connections <- function(ClientVpnEndpointId, Filters = NULL, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeClientVpnConnections",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Connections")
)
input <- .ec2$describe_client_vpn_connections_input(ClientVpnEndpointId = ClientVpnEndpointId, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$describe_client_vpn_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_client_vpn_connections <- ec2_describe_client_vpn_connections
#' Describes one or more Client VPN endpoints in the account
#'
#' @description
#' Describes one or more Client VPN endpoints in the account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_endpoints/](https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_endpoints/) for full documentation.
#'
#' @param ClientVpnEndpointIds The ID of the Client VPN endpoint.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the nextToken value.
#' @param NextToken The token to retrieve the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `endpoint-id` - The ID of the Client VPN endpoint.
#'
#' - `transport-protocol` - The transport protocol (`tcp` | `udp`).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_client_vpn_endpoints
ec2_describe_client_vpn_endpoints <- function(ClientVpnEndpointIds = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeClientVpnEndpoints",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ClientVpnEndpoints")
)
input <- .ec2$describe_client_vpn_endpoints_input(ClientVpnEndpointIds = ClientVpnEndpointIds, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_client_vpn_endpoints_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_client_vpn_endpoints <- ec2_describe_client_vpn_endpoints
#' Describes the routes for the specified Client VPN endpoint
#'
#' @description
#' Describes the routes for the specified Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_routes/](https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_routes/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `destination-cidr` - The CIDR of the route destination.
#'
#' - `origin` - How the route was associated with the Client VPN endpoint
#' (`associate` | `add-route`).
#'
#' - `target-subnet` - The ID of the subnet through which traffic is
#' routed.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the nextToken value.
#' @param NextToken The token to retrieve the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_client_vpn_routes
ec2_describe_client_vpn_routes <- function(ClientVpnEndpointId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeClientVpnRoutes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Routes")
)
input <- .ec2$describe_client_vpn_routes_input(ClientVpnEndpointId = ClientVpnEndpointId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_client_vpn_routes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_client_vpn_routes <- ec2_describe_client_vpn_routes
#' Describes the target networks associated with the specified Client VPN
#' endpoint
#'
#' @description
#' Describes the target networks associated with the specified Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_target_networks/](https://www.paws-r-sdk.com/docs/ec2_describe_client_vpn_target_networks/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param AssociationIds The IDs of the target network associations.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the nextToken value.
#' @param NextToken The token to retrieve the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `association-id` - The ID of the association.
#'
#' - `target-network-id` - The ID of the subnet specified as the target
#' network.
#'
#' - `vpc-id` - The ID of the VPC in which the target network is located.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_client_vpn_target_networks
ec2_describe_client_vpn_target_networks <- function(ClientVpnEndpointId, AssociationIds = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeClientVpnTargetNetworks",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ClientVpnTargetNetworks")
)
input <- .ec2$describe_client_vpn_target_networks_input(ClientVpnEndpointId = ClientVpnEndpointId, AssociationIds = AssociationIds, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_client_vpn_target_networks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_client_vpn_target_networks <- ec2_describe_client_vpn_target_networks
#' Describes the specified customer-owned address pools or all of your
#' customer-owned address pools
#'
#' @description
#' Describes the specified customer-owned address pools or all of your customer-owned address pools.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_coip_pools/](https://www.paws-r-sdk.com/docs/ec2_describe_coip_pools/) for full documentation.
#'
#' @param PoolIds The IDs of the address pools.
#' @param Filters One or more filters.
#'
#' - `coip-pool.local-gateway-route-table-id` - The ID of the local
#' gateway route table.
#'
#' - `coip-pool.pool-id` - The ID of the address pool.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_coip_pools
ec2_describe_coip_pools <- function(PoolIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeCoipPools",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "CoipPools")
)
input <- .ec2$describe_coip_pools_input(PoolIds = PoolIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_coip_pools_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_coip_pools <- ec2_describe_coip_pools
#' Describes the specified conversion tasks or all your conversion tasks
#'
#' @description
#' Describes the specified conversion tasks or all your conversion tasks. For more information, see the [VM Import/Export User Guide](https://docs.aws.amazon.com/vm-import/latest/userguide/).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_conversion_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_conversion_tasks/) for full documentation.
#'
#' @param ConversionTaskIds The conversion task IDs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_conversion_tasks
ec2_describe_conversion_tasks <- function(ConversionTaskIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeConversionTasks",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "ConversionTasks")
)
input <- .ec2$describe_conversion_tasks_input(ConversionTaskIds = ConversionTaskIds, DryRun = DryRun)
output <- .ec2$describe_conversion_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_conversion_tasks <- ec2_describe_conversion_tasks
#' Describes one or more of your VPN customer gateways
#'
#' @description
#' Describes one or more of your VPN customer gateways.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_customer_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_customer_gateways/) for full documentation.
#'
#' @param CustomerGatewayIds One or more customer gateway IDs.
#'
#' Default: Describes all your customer gateways.
#' @param Filters One or more filters.
#'
#' - `bgp-asn` - The customer gateway's Border Gateway Protocol (BGP)
#' Autonomous System Number (ASN).
#'
#' - `customer-gateway-id` - The ID of the customer gateway.
#'
#' - `ip-address` - The IP address of the customer gateway device's
#' external interface.
#'
#' - `state` - The state of the customer gateway (`pending` | `available`
#' | `deleting` | `deleted`).
#'
#' - `type` - The type of customer gateway. Currently, the only supported
#' type is `ipsec.1`.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_customer_gateways
ec2_describe_customer_gateways <- function(CustomerGatewayIds = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeCustomerGateways",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "CustomerGateways")
)
input <- .ec2$describe_customer_gateways_input(CustomerGatewayIds = CustomerGatewayIds, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_customer_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_customer_gateways <- ec2_describe_customer_gateways
#' Describes one or more of your DHCP options sets
#'
#' @description
#' Describes one or more of your DHCP options sets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_dhcp_options/](https://www.paws-r-sdk.com/docs/ec2_describe_dhcp_options/) for full documentation.
#'
#' @param DhcpOptionsIds The IDs of one or more DHCP options sets.
#'
#' Default: Describes all your DHCP options sets.
#' @param Filters The filters.
#'
#' - `dhcp-options-id` - The ID of a DHCP options set.
#'
#' - `key` - The key for one of the options (for example, `domain-name`).
#'
#' - `value` - The value for one of the options.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' DHCP options set.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_dhcp_options
ec2_describe_dhcp_options <- function(DhcpOptionsIds = NULL, Filters = NULL, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeDhcpOptions",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "DhcpOptions")
)
input <- .ec2$describe_dhcp_options_input(DhcpOptionsIds = DhcpOptionsIds, Filters = Filters, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_dhcp_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_dhcp_options <- ec2_describe_dhcp_options
#' Describes one or more of your egress-only internet gateways
#'
#' @description
#' Describes one or more of your egress-only internet gateways.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_egress_only_internet_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_egress_only_internet_gateways/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EgressOnlyInternetGatewayIds The IDs of the egress-only internet gateways.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param Filters The filters.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_egress_only_internet_gateways
ec2_describe_egress_only_internet_gateways <- function(DryRun = NULL, EgressOnlyInternetGatewayIds = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeEgressOnlyInternetGateways",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "EgressOnlyInternetGateways")
)
input <- .ec2$describe_egress_only_internet_gateways_input(DryRun = DryRun, EgressOnlyInternetGatewayIds = EgressOnlyInternetGatewayIds, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters)
output <- .ec2$describe_egress_only_internet_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_egress_only_internet_gateways <- ec2_describe_egress_only_internet_gateways
#' Amazon Elastic Graphics reached end of life on January 8, 2024
#'
#' @description
#' Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_elastic_gpus/](https://www.paws-r-sdk.com/docs/ec2_describe_elastic_gpus/) for full documentation.
#'
#' @param ElasticGpuIds The Elastic Graphics accelerator IDs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone in which the Elastic
#' Graphics accelerator resides.
#'
#' - `elastic-gpu-health` - The status of the Elastic Graphics
#' accelerator (`OK` | `IMPAIRED`).
#'
#' - `elastic-gpu-state` - The state of the Elastic Graphics accelerator
#' (`ATTACHED`).
#'
#' - `elastic-gpu-type` - The type of Elastic Graphics accelerator; for
#' example, `eg1.medium`.
#'
#' - `instance-id` - The ID of the instance to which the Elastic Graphics
#' accelerator is associated.
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another call with the returned `NextToken`
#' value. This value can be between 5 and 1000.
#' @param NextToken The token to request the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_elastic_gpus
ec2_describe_elastic_gpus <- function(ElasticGpuIds = NULL, DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeElasticGpus",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_elastic_gpus_input(ElasticGpuIds = ElasticGpuIds, DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_elastic_gpus_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_elastic_gpus <- ec2_describe_elastic_gpus
#' Describes the specified export image tasks or all of your export image
#' tasks
#'
#' @description
#' Describes the specified export image tasks or all of your export image tasks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_export_image_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_export_image_tasks/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters Filter tasks using the `task-state` filter and one of the following
#' values: `active`, `completed`, `deleting`, or `deleted`.
#' @param ExportImageTaskIds The IDs of the export image tasks.
#' @param MaxResults The maximum number of results to return in a single call.
#' @param NextToken A token that indicates the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_export_image_tasks
ec2_describe_export_image_tasks <- function(DryRun = NULL, Filters = NULL, ExportImageTaskIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeExportImageTasks",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ExportImageTasks")
)
input <- .ec2$describe_export_image_tasks_input(DryRun = DryRun, Filters = Filters, ExportImageTaskIds = ExportImageTaskIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_export_image_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_export_image_tasks <- ec2_describe_export_image_tasks
#' Describes the specified export instance tasks or all of your export
#' instance tasks
#'
#' @description
#' Describes the specified export instance tasks or all of your export instance tasks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_export_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_export_tasks/) for full documentation.
#'
#' @param ExportTaskIds The export task IDs.
#' @param Filters the filters for the export tasks.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_export_tasks
ec2_describe_export_tasks <- function(ExportTaskIds = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeExportTasks",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "ExportTasks")
)
input <- .ec2$describe_export_tasks_input(ExportTaskIds = ExportTaskIds, Filters = Filters)
output <- .ec2$describe_export_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_export_tasks <- ec2_describe_export_tasks
#' Describe details for Windows AMIs that are configured for Windows fast
#' launch
#'
#' @description
#' Describe details for Windows AMIs that are configured for Windows fast launch.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fast_launch_images/](https://www.paws-r-sdk.com/docs/ec2_describe_fast_launch_images/) for full documentation.
#'
#' @param ImageIds Specify one or more Windows AMI image IDs for the request.
#' @param Filters Use the following filters to streamline results.
#'
#' - `resource-type` - The resource type for pre-provisioning.
#'
#' - `owner-id` - The owner ID for the pre-provisioning resource.
#'
#' - `state` - The current state of fast launching for the Windows AMI.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fast_launch_images
ec2_describe_fast_launch_images <- function(ImageIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeFastLaunchImages",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "FastLaunchImages")
)
input <- .ec2$describe_fast_launch_images_input(ImageIds = ImageIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_fast_launch_images_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fast_launch_images <- ec2_describe_fast_launch_images
#' Describes the state of fast snapshot restores for your snapshots
#'
#' @description
#' Describes the state of fast snapshot restores for your snapshots.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fast_snapshot_restores/](https://www.paws-r-sdk.com/docs/ec2_describe_fast_snapshot_restores/) for full documentation.
#'
#' @param Filters The filters. The possible values are:
#'
#' - `availability-zone`: The Availability Zone of the snapshot.
#'
#' - `owner-id`: The ID of the Amazon Web Services account that enabled
#' fast snapshot restore on the snapshot.
#'
#' - `snapshot-id`: The ID of the snapshot.
#'
#' - `state`: The state of fast snapshot restores for the snapshot
#' (`enabling` | `optimizing` | `enabled` | `disabling` | `disabled`).
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fast_snapshot_restores
ec2_describe_fast_snapshot_restores <- function(Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeFastSnapshotRestores",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "FastSnapshotRestores")
)
input <- .ec2$describe_fast_snapshot_restores_input(Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_fast_snapshot_restores_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fast_snapshot_restores <- ec2_describe_fast_snapshot_restores
#' Describes the events for the specified EC2 Fleet during the specified
#' time
#'
#' @description
#' Describes the events for the specified EC2 Fleet during the specified time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fleet_history/](https://www.paws-r-sdk.com/docs/ec2_describe_fleet_history/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EventType The type of events to describe. By default, all events are described.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param FleetId [required] The ID of the EC2 Fleet.
#' @param StartTime [required] The start date and time for the events, in UTC format (for example,
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fleet_history
ec2_describe_fleet_history <- function(DryRun = NULL, EventType = NULL, MaxResults = NULL, NextToken = NULL, FleetId, StartTime) {
op <- new_operation(
name = "DescribeFleetHistory",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_fleet_history_input(DryRun = DryRun, EventType = EventType, MaxResults = MaxResults, NextToken = NextToken, FleetId = FleetId, StartTime = StartTime)
output <- .ec2$describe_fleet_history_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fleet_history <- ec2_describe_fleet_history
#' Describes the running instances for the specified EC2 Fleet
#'
#' @description
#' Describes the running instances for the specified EC2 Fleet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fleet_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_fleet_instances/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param FleetId [required] The ID of the EC2 Fleet.
#' @param Filters The filters.
#'
#' - `instance-type` - The instance type.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fleet_instances
ec2_describe_fleet_instances <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL, FleetId, Filters = NULL) {
op <- new_operation(
name = "DescribeFleetInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_fleet_instances_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, FleetId = FleetId, Filters = Filters)
output <- .ec2$describe_fleet_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fleet_instances <- ec2_describe_fleet_instances
#' Describes the specified EC2 Fleet or all of your EC2 Fleets
#'
#' @description
#' Describes the specified EC2 Fleet or all of your EC2 Fleets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fleets/](https://www.paws-r-sdk.com/docs/ec2_describe_fleets/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param FleetIds The IDs of the EC2 Fleets.
#'
#' If a fleet is of type `instant`, you must specify the fleet ID,
#' otherwise it does not appear in the response.
#' @param Filters The filters.
#'
#' - `activity-status` - The progress of the EC2 Fleet ( `error` |
#' `pending-fulfillment` | `pending-termination` | `fulfilled`).
#'
#' - `excess-capacity-termination-policy` - Indicates whether to
#' terminate running instances if the target capacity is decreased
#' below the current EC2 Fleet size (`true` | `false`).
#'
#' - `fleet-state` - The state of the EC2 Fleet (`submitted` | `active` |
#' `deleted` | `failed` | `deleted-running` | `deleted-terminating` |
#' `modifying`).
#'
#' - `replace-unhealthy-instances` - Indicates whether EC2 Fleet should
#' replace unhealthy instances (`true` | `false`).
#'
#' - `type` - The type of request (`instant` | `request` | `maintain`).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fleets
ec2_describe_fleets <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL, FleetIds = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeFleets",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Fleets")
)
input <- .ec2$describe_fleets_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, FleetIds = FleetIds, Filters = Filters)
output <- .ec2$describe_fleets_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fleets <- ec2_describe_fleets
#' Describes one or more flow logs
#'
#' @description
#' Describes one or more flow logs.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_flow_logs/](https://www.paws-r-sdk.com/docs/ec2_describe_flow_logs/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filter One or more filters.
#'
#' - `deliver-log-status` - The status of the logs delivery (`SUCCESS` |
#' `FAILED`).
#'
#' - `log-destination-type` - The type of destination for the flow log
#' data (`cloud-watch-logs` | `s3` | `kinesis-data-firehose`).
#'
#' - `flow-log-id` - The ID of the flow log.
#'
#' - `log-group-name` - The name of the log group.
#'
#' - `resource-id` - The ID of the VPC, subnet, or network interface.
#'
#' - `traffic-type` - The type of traffic (`ACCEPT` | `REJECT` | `ALL`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param FlowLogIds One or more flow log IDs.
#'
#' Constraint: Maximum of 1000 flow log IDs.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token to request the next page of items. Pagination continues from
#' the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_flow_logs
ec2_describe_flow_logs <- function(DryRun = NULL, Filter = NULL, FlowLogIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeFlowLogs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "FlowLogs")
)
input <- .ec2$describe_flow_logs_input(DryRun = DryRun, Filter = Filter, FlowLogIds = FlowLogIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_flow_logs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_flow_logs <- ec2_describe_flow_logs
#' Describes the specified attribute of the specified Amazon FPGA Image
#' (AFI)
#'
#' @description
#' Describes the specified attribute of the specified Amazon FPGA Image (AFI).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fpga_image_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_fpga_image_attribute/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FpgaImageId [required] The ID of the AFI.
#' @param Attribute [required] The AFI attribute.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fpga_image_attribute
ec2_describe_fpga_image_attribute <- function(DryRun = NULL, FpgaImageId, Attribute) {
op <- new_operation(
name = "DescribeFpgaImageAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_fpga_image_attribute_input(DryRun = DryRun, FpgaImageId = FpgaImageId, Attribute = Attribute)
output <- .ec2$describe_fpga_image_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fpga_image_attribute <- ec2_describe_fpga_image_attribute
#' Describes the Amazon FPGA Images (AFIs) available to you
#'
#' @description
#' Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load permissions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_fpga_images/](https://www.paws-r-sdk.com/docs/ec2_describe_fpga_images/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FpgaImageIds The AFI IDs.
#' @param Owners Filters the AFI by owner. Specify an Amazon Web Services account ID,
#' `self` (owner is the sender of the request), or an Amazon Web Services
#' owner alias (valid values are `amazon` | `aws-marketplace`).
#' @param Filters The filters.
#'
#' - `create-time` - The creation time of the AFI.
#'
#' - `fpga-image-id` - The FPGA image identifier (AFI ID).
#'
#' - `fpga-image-global-id` - The global FPGA image identifier (AGFI ID).
#'
#' - `name` - The name of the AFI.
#'
#' - `owner-id` - The Amazon Web Services account ID of the AFI owner.
#'
#' - `product-code` - The product code.
#'
#' - `shell-version` - The version of the Amazon Web Services Shell that
#' was used to create the bitstream.
#'
#' - `state` - The state of the AFI (`pending` | `failed` | `available` |
#' `unavailable`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `update-time` - The time of the most recent update.
#' @param NextToken The token to retrieve the next page of results.
#' @param MaxResults The maximum number of results to return in a single call.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_fpga_images
ec2_describe_fpga_images <- function(DryRun = NULL, FpgaImageIds = NULL, Owners = NULL, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeFpgaImages",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "FpgaImages")
)
input <- .ec2$describe_fpga_images_input(DryRun = DryRun, FpgaImageIds = FpgaImageIds, Owners = Owners, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_fpga_images_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_fpga_images <- ec2_describe_fpga_images
#' Describes the Dedicated Host reservations that are available to purchase
#'
#' @description
#' Describes the Dedicated Host reservations that are available to purchase.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_host_reservation_offerings/](https://www.paws-r-sdk.com/docs/ec2_describe_host_reservation_offerings/) for full documentation.
#'
#' @param Filter The filters.
#'
#' - `instance-family` - The instance family of the offering (for
#' example, `m4`).
#'
#' - `payment-option` - The payment option (`NoUpfront` |
#' `PartialUpfront` | `AllUpfront`).
#' @param MaxDuration This is the maximum duration of the reservation to purchase, specified
#' in seconds. Reservations are available in one-year and three-year terms.
#' The number of seconds specified must be the number of seconds in a year
#' (365x24x60x60) times one of the supported durations (1 or 3). For
#' example, specify 94608000 for three years.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the returned `nextToken` value. This value can be between 5 and 500. If
#' `maxResults` is given a larger value than 500, you receive an error.
#' @param MinDuration This is the minimum duration of the reservation you'd like to purchase,
#' specified in seconds. Reservations are available in one-year and
#' three-year terms. The number of seconds specified must be the number of
#' seconds in a year (365x24x60x60) times one of the supported durations (1
#' or 3). For example, specify 31536000 for one year.
#' @param NextToken The token to use to retrieve the next page of results.
#' @param OfferingId The ID of the reservation offering.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_host_reservation_offerings
ec2_describe_host_reservation_offerings <- function(Filter = NULL, MaxDuration = NULL, MaxResults = NULL, MinDuration = NULL, NextToken = NULL, OfferingId = NULL) {
op <- new_operation(
name = "DescribeHostReservationOfferings",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "OfferingSet")
)
input <- .ec2$describe_host_reservation_offerings_input(Filter = Filter, MaxDuration = MaxDuration, MaxResults = MaxResults, MinDuration = MinDuration, NextToken = NextToken, OfferingId = OfferingId)
output <- .ec2$describe_host_reservation_offerings_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_host_reservation_offerings <- ec2_describe_host_reservation_offerings
#' Describes reservations that are associated with Dedicated Hosts in your
#' account
#'
#' @description
#' Describes reservations that are associated with Dedicated Hosts in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_host_reservations/](https://www.paws-r-sdk.com/docs/ec2_describe_host_reservations/) for full documentation.
#'
#' @param Filter The filters.
#'
#' - `instance-family` - The instance family (for example, `m4`).
#'
#' - `payment-option` - The payment option (`NoUpfront` |
#' `PartialUpfront` | `AllUpfront`).
#'
#' - `state` - The state of the reservation (`payment-pending` |
#' `payment-failed` | `active` | `retired`).
#'
#' - `tag:<key>` - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param HostReservationIdSet The host reservation IDs.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the returned `nextToken` value. This value can be between 5 and 500. If
#' `maxResults` is given a larger value than 500, you receive an error.
#' @param NextToken The token to use to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_host_reservations
ec2_describe_host_reservations <- function(Filter = NULL, HostReservationIdSet = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeHostReservations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "HostReservationSet")
)
input <- .ec2$describe_host_reservations_input(Filter = Filter, HostReservationIdSet = HostReservationIdSet, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_host_reservations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_host_reservations <- ec2_describe_host_reservations
#' Describes the specified Dedicated Hosts or all your Dedicated Hosts
#'
#' @description
#' Describes the specified Dedicated Hosts or all your Dedicated Hosts.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_hosts/](https://www.paws-r-sdk.com/docs/ec2_describe_hosts/) for full documentation.
#'
#' @param Filter The filters.
#'
#' - `auto-placement` - Whether auto-placement is enabled or disabled
#' (`on` | `off`).
#'
#' - `availability-zone` - The Availability Zone of the host.
#'
#' - `client-token` - The idempotency token that you provided when you
#' allocated the host.
#'
#' - `host-reservation-id` - The ID of the reservation assigned to this
#' host.
#'
#' - `instance-type` - The instance type size that the Dedicated Host is
#' configured to support.
#'
#' - `state` - The allocation state of the Dedicated Host (`available` |
#' `under-assessment` | `permanent-failure` | `released` |
#' `released-permanent-failure`).
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param HostIds The IDs of the Dedicated Hosts. The IDs are used for targeted instance
#' launches.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the returned `nextToken` value. This value can be between 5 and 500. If
#' `maxResults` is given a larger value than 500, you receive an error.
#'
#' You cannot specify this parameter and the host IDs parameter in the same
#' request.
#' @param NextToken The token to use to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_hosts
ec2_describe_hosts <- function(Filter = NULL, HostIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeHosts",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Hosts")
)
input <- .ec2$describe_hosts_input(Filter = Filter, HostIds = HostIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_hosts_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_hosts <- ec2_describe_hosts
#' Describes your IAM instance profile associations
#'
#' @description
#' Describes your IAM instance profile associations.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_iam_instance_profile_associations/](https://www.paws-r-sdk.com/docs/ec2_describe_iam_instance_profile_associations/) for full documentation.
#'
#' @param AssociationIds The IAM instance profile associations.
#' @param Filters The filters.
#'
#' - `instance-id` - The ID of the instance.
#'
#' - `state` - The state of the association (`associating` | `associated`
#' | `disassociating`).
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_iam_instance_profile_associations
ec2_describe_iam_instance_profile_associations <- function(AssociationIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeIamInstanceProfileAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IamInstanceProfileAssociations")
)
input <- .ec2$describe_iam_instance_profile_associations_input(AssociationIds = AssociationIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_iam_instance_profile_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_iam_instance_profile_associations <- ec2_describe_iam_instance_profile_associations
#' Describes the ID format settings for your resources on a per-Region
#' basis, for example, to view which resource types are enabled for longer
#' IDs
#'
#' @description
#' Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_id_format/](https://www.paws-r-sdk.com/docs/ec2_describe_id_format/) for full documentation.
#'
#' @param Resource The type of resource: `bundle` | `conversion-task` | `customer-gateway`
#' | `dhcp-options` | `elastic-ip-allocation` | `elastic-ip-association` |
#' `export-task` | `flow-log` | `image` | `import-task` | `instance` |
#' `internet-gateway` | `network-acl` | `network-acl-association` |
#' `network-interface` | `network-interface-attachment` | `prefix-list` |
#' `reservation` | `route-table` | `route-table-association` |
#' `security-group` | `snapshot` | `subnet` |
#' `subnet-cidr-block-association` | `volume` | `vpc` |
#' `vpc-cidr-block-association` | `vpc-endpoint` | `vpc-peering-connection`
#' | `vpn-connection` | `vpn-gateway`
#'
#' @keywords internal
#'
#' @rdname ec2_describe_id_format
ec2_describe_id_format <- function(Resource = NULL) {
op <- new_operation(
name = "DescribeIdFormat",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_id_format_input(Resource = Resource)
output <- .ec2$describe_id_format_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_id_format <- ec2_describe_id_format
#' Describes the ID format settings for resources for the specified IAM
#' user, IAM role, or root user
#'
#' @description
#' Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. For more information, see [Resource IDs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_identity_id_format/](https://www.paws-r-sdk.com/docs/ec2_describe_identity_id_format/) for full documentation.
#'
#' @param PrincipalArn [required] The ARN of the principal, which can be an IAM role, IAM user, or the
#' root user.
#' @param Resource The type of resource: `bundle` | `conversion-task` | `customer-gateway`
#' | `dhcp-options` | `elastic-ip-allocation` | `elastic-ip-association` |
#' `export-task` | `flow-log` | `image` | `import-task` | `instance` |
#' `internet-gateway` | `network-acl` | `network-acl-association` |
#' `network-interface` | `network-interface-attachment` | `prefix-list` |
#' `reservation` | `route-table` | `route-table-association` |
#' `security-group` | `snapshot` | `subnet` |
#' `subnet-cidr-block-association` | `volume` | `vpc` |
#' `vpc-cidr-block-association` | `vpc-endpoint` | `vpc-peering-connection`
#' | `vpn-connection` | `vpn-gateway`
#'
#' @keywords internal
#'
#' @rdname ec2_describe_identity_id_format
ec2_describe_identity_id_format <- function(PrincipalArn, Resource = NULL) {
op <- new_operation(
name = "DescribeIdentityIdFormat",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_identity_id_format_input(PrincipalArn = PrincipalArn, Resource = Resource)
output <- .ec2$describe_identity_id_format_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_identity_id_format <- ec2_describe_identity_id_format
#' Describes the specified attribute of the specified AMI
#'
#' @description
#' Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_image_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_image_attribute/) for full documentation.
#'
#' @param Attribute [required] The AMI attribute.
#'
#' **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
#' attribute returns the `Client.AuthFailure` error. To get information
#' about the block device mappings for an AMI, use the
#' [`describe_images`][ec2_describe_images] action.
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_image_attribute
ec2_describe_image_attribute <- function(Attribute, ImageId, DryRun = NULL) {
op <- new_operation(
name = "DescribeImageAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_image_attribute_input(Attribute = Attribute, ImageId = ImageId, DryRun = DryRun)
output <- .ec2$describe_image_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_image_attribute <- ec2_describe_image_attribute
#' Describes the specified images (AMIs, AKIs, and ARIs) available to you
#' or all of the images available to you
#'
#' @description
#' Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_images/](https://www.paws-r-sdk.com/docs/ec2_describe_images/) for full documentation.
#'
#' @param ExecutableUsers Scopes the images by users with explicit launch permissions. Specify an
#' Amazon Web Services account ID, `self` (the sender of the request), or
#' `all` (public AMIs).
#'
#' - If you specify an Amazon Web Services account ID that is not your
#' own, only AMIs shared with that specific Amazon Web Services account
#' ID are returned. However, AMIs that are shared with the account’s
#' organization or organizational unit (OU) are not returned.
#'
#' - If you specify `self` or your own Amazon Web Services account ID,
#' AMIs shared with your account are returned. In addition, AMIs that
#' are shared with the organization or OU of which you are member are
#' also returned.
#'
#' - If you specify `all`, all public AMIs are returned.
#' @param Filters The filters.
#'
#' - `architecture` - The image architecture (`i386` | `x86_64` | `arm64`
#' | `x86_64_mac` | `arm64_mac`).
#'
#' - `block-device-mapping.delete-on-termination` - A Boolean value that
#' indicates whether the Amazon EBS volume is deleted on instance
#' termination.
#'
#' - `block-device-mapping.device-name` - The device name specified in
#' the block device mapping (for example, `/dev/sdh` or `xvdh`).
#'
#' - `block-device-mapping.snapshot-id` - The ID of the snapshot used for
#' the Amazon EBS volume.
#'
#' - `block-device-mapping.volume-size` - The volume size of the Amazon
#' EBS volume, in GiB.
#'
#' - `block-device-mapping.volume-type` - The volume type of the Amazon
#' EBS volume (`io1` | `io2` | `gp2` | `gp3` | `sc1 `| `st1` |
#' `standard`).
#'
#' - `block-device-mapping.encrypted` - A Boolean that indicates whether
#' the Amazon EBS volume is encrypted.
#'
#' - `creation-date` - The time when the image was created, in the ISO
#' 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
#' example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`),
#' for example, `2021-09-29T*`, which matches an entire day.
#'
#' - `description` - The description of the image (provided during image
#' creation).
#'
#' - `ena-support` - A Boolean that indicates whether enhanced networking
#' with ENA is enabled.
#'
#' - `hypervisor` - The hypervisor type (`ovm` | `xen`).
#'
#' - `image-id` - The ID of the image.
#'
#' - `image-type` - The image type (`machine` | `kernel` | `ramdisk`).
#'
#' - `is-public` - A Boolean that indicates whether the image is public.
#'
#' - `kernel-id` - The kernel ID.
#'
#' - `manifest-location` - The location of the image manifest.
#'
#' - `name` - The name of the AMI (provided during image creation).
#'
#' - `owner-alias` - The owner alias (`amazon` | `aws-marketplace`). The
#' valid aliases are defined in an Amazon-maintained list. This is not
#' the Amazon Web Services account alias that can be set using the IAM
#' console. We recommend that you use the **Owner** request parameter
#' instead of this filter.
#'
#' - `owner-id` - The Amazon Web Services account ID of the owner. We
#' recommend that you use the **Owner** request parameter instead of
#' this filter.
#'
#' - `platform` - The platform. The only supported value is `windows`.
#'
#' - `product-code` - The product code.
#'
#' - `product-code.type` - The type of the product code (`marketplace`).
#'
#' - `ramdisk-id` - The RAM disk ID.
#'
#' - `root-device-name` - The device name of the root device volume (for
#' example, `/dev/sda1`).
#'
#' - `root-device-type` - The type of the root device volume (`ebs` |
#' `instance-store`).
#'
#' - `source-instance-id` - The ID of the instance that the AMI was
#' created from if the AMI was created using CreateImage. This filter
#' is applicable only if the AMI was created using
#' [`create_image`][ec2_create_image].
#'
#' - `state` - The state of the image (`available` | `pending` |
#' `failed`).
#'
#' - `state-reason-code` - The reason code for the state change.
#'
#' - `state-reason-message` - The message for the state change.
#'
#' - `sriov-net-support` - A value of `simple` indicates that enhanced
#' networking with the Intel 82599 VF interface is enabled.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `virtualization-type` - The virtualization type (`paravirtual` |
#' `hvm`).
#' @param ImageIds The image IDs.
#'
#' Default: Describes all images available to you.
#' @param Owners Scopes the results to images with the specified owners. You can specify
#' a combination of Amazon Web Services account IDs, `self`, `amazon`, and
#' `aws-marketplace`. If you omit this parameter, the results include all
#' images for which you have launch permissions, regardless of ownership.
#' @param IncludeDeprecated Specifies whether to include deprecated AMIs.
#'
#' Default: No deprecated AMIs are included in the response.
#'
#' If you are the AMI owner, all deprecated AMIs appear in the response
#' regardless of what you specify for this parameter.
#' @param IncludeDisabled Specifies whether to include disabled AMIs.
#'
#' Default: No disabled AMIs are included in the response.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_images
ec2_describe_images <- function(ExecutableUsers = NULL, Filters = NULL, ImageIds = NULL, Owners = NULL, IncludeDeprecated = NULL, IncludeDisabled = NULL, DryRun = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeImages",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Images")
)
input <- .ec2$describe_images_input(ExecutableUsers = ExecutableUsers, Filters = Filters, ImageIds = ImageIds, Owners = Owners, IncludeDeprecated = IncludeDeprecated, IncludeDisabled = IncludeDisabled, DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_images_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_images <- ec2_describe_images
#' Displays details about an import virtual machine or import snapshot
#' tasks that are already created
#'
#' @description
#' Displays details about an import virtual machine or import snapshot tasks that are already created.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_import_image_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_import_image_tasks/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters Filter tasks using the `task-state` filter and one of the following
#' values: `active`, `completed`, `deleting`, or `deleted`.
#' @param ImportTaskIds The IDs of the import image tasks.
#' @param MaxResults The maximum number of results to return in a single call.
#' @param NextToken A token that indicates the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_import_image_tasks
ec2_describe_import_image_tasks <- function(DryRun = NULL, Filters = NULL, ImportTaskIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeImportImageTasks",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ImportImageTasks")
)
input <- .ec2$describe_import_image_tasks_input(DryRun = DryRun, Filters = Filters, ImportTaskIds = ImportTaskIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_import_image_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_import_image_tasks <- ec2_describe_import_image_tasks
#' Describes your import snapshot tasks
#'
#' @description
#' Describes your import snapshot tasks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_import_snapshot_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_import_snapshot_tasks/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#' @param ImportTaskIds A list of import snapshot task IDs.
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another call with the returned `NextToken`
#' value.
#' @param NextToken A token that indicates the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_import_snapshot_tasks
ec2_describe_import_snapshot_tasks <- function(DryRun = NULL, Filters = NULL, ImportTaskIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeImportSnapshotTasks",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ImportSnapshotTasks")
)
input <- .ec2$describe_import_snapshot_tasks_input(DryRun = DryRun, Filters = Filters, ImportTaskIds = ImportTaskIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_import_snapshot_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_import_snapshot_tasks <- ec2_describe_import_snapshot_tasks
#' Describes the specified attribute of the specified instance
#'
#' @description
#' Describes the specified attribute of the specified instance. You can specify only one attribute at a time. Valid attribute values are: `instanceType` | `kernel` | `ramdisk` | `userData` | `disableApiTermination` | `instanceInitiatedShutdownBehavior` | `rootDeviceName` | `blockDeviceMapping` | `productCodes` | `sourceDestCheck` | `groupSet` | `ebsOptimized` | `sriovNetSupport`
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_attribute/) for full documentation.
#'
#' @param Attribute [required] The instance attribute.
#'
#' Note: The `enaSupport` attribute is not supported at this time.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_attribute
ec2_describe_instance_attribute <- function(Attribute, DryRun = NULL, InstanceId) {
op <- new_operation(
name = "DescribeInstanceAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_instance_attribute_input(Attribute = Attribute, DryRun = DryRun, InstanceId = InstanceId)
output <- .ec2$describe_instance_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_attribute <- ec2_describe_instance_attribute
#' Describes the specified EC2 Instance Connect Endpoints or all EC2
#' Instance Connect Endpoints
#'
#' @description
#' Describes the specified EC2 Instance Connect Endpoints or all EC2 Instance Connect Endpoints.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_connect_endpoints/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_connect_endpoints/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param Filters One or more filters.
#'
#' - `instance-connect-endpoint-id` - The ID of the EC2 Instance Connect
#' Endpoint.
#'
#' - `state` - The state of the EC2 Instance Connect Endpoint
#' (`create-in-progress` | `create-complete` | `create-failed` |
#' `delete-in-progress` | `delete-complete` | `delete-failed`).
#'
#' - `subnet-id` - The ID of the subnet in which the EC2 Instance Connect
#' Endpoint was created.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `tag-value` - The value of a tag assigned to the resource. Use this
#' filter to find all resources that have a tag with a specific value,
#' regardless of tag key.
#'
#' - `vpc-id` - The ID of the VPC in which the EC2 Instance Connect
#' Endpoint was created.
#' @param InstanceConnectEndpointIds One or more EC2 Instance Connect Endpoint IDs.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_connect_endpoints
ec2_describe_instance_connect_endpoints <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, InstanceConnectEndpointIds = NULL) {
op <- new_operation(
name = "DescribeInstanceConnectEndpoints",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceConnectEndpoints")
)
input <- .ec2$describe_instance_connect_endpoints_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, InstanceConnectEndpointIds = InstanceConnectEndpointIds)
output <- .ec2$describe_instance_connect_endpoints_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_connect_endpoints <- ec2_describe_instance_connect_endpoints
#' Describes the credit option for CPU usage of the specified burstable
#' performance instances
#'
#' @description
#' Describes the credit option for CPU usage of the specified burstable performance instances. The credit options are `standard` and `unlimited`.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_credit_specifications/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_credit_specifications/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `instance-id` - The ID of the instance.
#' @param InstanceIds The instance IDs.
#'
#' Default: Describes all your instances.
#'
#' Constraints: Maximum 1000 explicitly specified instance IDs.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' You cannot specify this parameter and the instance IDs parameter in the
#' same call.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_credit_specifications
ec2_describe_instance_credit_specifications <- function(DryRun = NULL, Filters = NULL, InstanceIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeInstanceCreditSpecifications",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceCreditSpecifications")
)
input <- .ec2$describe_instance_credit_specifications_input(DryRun = DryRun, Filters = Filters, InstanceIds = InstanceIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_instance_credit_specifications_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_credit_specifications <- ec2_describe_instance_credit_specifications
#' Describes the tag keys that are registered to appear in scheduled event
#' notifications for resources in the current Region
#'
#' @description
#' Describes the tag keys that are registered to appear in scheduled event notifications for resources in the current Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_event_notification_attributes/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_event_notification_attributes/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_event_notification_attributes
ec2_describe_instance_event_notification_attributes <- function(DryRun = NULL) {
op <- new_operation(
name = "DescribeInstanceEventNotificationAttributes",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_instance_event_notification_attributes_input(DryRun = DryRun)
output <- .ec2$describe_instance_event_notification_attributes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_event_notification_attributes <- ec2_describe_instance_event_notification_attributes
#' Describes the specified event windows or all event windows
#'
#' @description
#' Describes the specified event windows or all event windows.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_event_windows/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_event_windows/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceEventWindowIds The IDs of the event windows.
#' @param Filters One or more filters.
#'
#' - `dedicated-host-id` - The event windows associated with the
#' specified Dedicated Host ID.
#'
#' - `event-window-name` - The event windows associated with the
#' specified names.
#'
#' - `instance-id` - The event windows associated with the specified
#' instance ID.
#'
#' - `instance-tag` - The event windows associated with the specified tag
#' and value.
#'
#' - `instance-tag-key` - The event windows associated with the specified
#' tag key, regardless of the value.
#'
#' - `instance-tag-value` - The event windows associated with the
#' specified tag value, regardless of the key.
#'
#' - `tag:<key>` - The key/value combination of a tag assigned to the
#' event window. Use the tag key in the filter name and the tag value
#' as the filter value. For example, to find all resources that have a
#' tag with the key `Owner` and the value `CMX`, specify `tag:Owner`
#' for the filter name and `CMX` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the event window. Use this
#' filter to find all event windows that have a tag with a specific
#' key, regardless of the tag value.
#'
#' - `tag-value` - The value of a tag assigned to the event window. Use
#' this filter to find all event windows that have a tag with a
#' specific value, regardless of the tag key.
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another call with the returned `NextToken`
#' value. This value can be between 20 and 500. You cannot specify this
#' parameter and the event window IDs parameter in the same call.
#' @param NextToken The token to request the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_event_windows
ec2_describe_instance_event_windows <- function(DryRun = NULL, InstanceEventWindowIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeInstanceEventWindows",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceEventWindows")
)
input <- .ec2$describe_instance_event_windows_input(DryRun = DryRun, InstanceEventWindowIds = InstanceEventWindowIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_instance_event_windows_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_event_windows <- ec2_describe_instance_event_windows
#' Describes the status of the specified instances or all of your instances
#'
#' @description
#' Describes the status of the specified instances or all of your instances. By default, only running instances are described, unless you specifically indicate to return the status of all instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_status/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_status/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone of the instance.
#'
#' - `event.code` - The code for the scheduled event (`instance-reboot` |
#' `system-reboot` | `system-maintenance` | `instance-retirement` |
#' `instance-stop`).
#'
#' - `event.description` - A description of the event.
#'
#' - `event.instance-event-id` - The ID of the event whose date and time
#' you are modifying.
#'
#' - `event.not-after` - The latest end time for the scheduled event (for
#' example, `2014-09-15T17:15:20.000Z`).
#'
#' - `event.not-before` - The earliest start time for the scheduled event
#' (for example, `2014-09-15T17:15:20.000Z`).
#'
#' - `event.not-before-deadline` - The deadline for starting the event
#' (for example, `2014-09-15T17:15:20.000Z`).
#'
#' - `instance-state-code` - The code for the instance state, as a 16-bit
#' unsigned integer. The high byte is used for internal purposes and
#' should be ignored. The low byte is set based on the state
#' represented. The valid values are 0 (pending), 16 (running), 32
#' (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
#'
#' - `instance-state-name` - The state of the instance (`pending` |
#' `running` | `shutting-down` | `terminated` | `stopping` |
#' `stopped`).
#'
#' - `instance-status.reachability` - Filters on instance status where
#' the name is `reachability` (`passed` | `failed` | `initializing` |
#' `insufficient-data`).
#'
#' - `instance-status.status` - The status of the instance (`ok` |
#' `impaired` | `initializing` | `insufficient-data` |
#' `not-applicable`).
#'
#' - `system-status.reachability` - Filters on system status where the
#' name is `reachability` (`passed` | `failed` | `initializing` |
#' `insufficient-data`).
#'
#' - `system-status.status` - The system status of the instance (`ok` |
#' `impaired` | `initializing` | `insufficient-data` |
#' `not-applicable`).
#' @param InstanceIds The instance IDs.
#'
#' Default: Describes all your instances.
#'
#' Constraints: Maximum 100 explicitly specified instance IDs.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' You cannot specify this parameter and the instance IDs parameter in the
#' same request.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param IncludeAllInstances When `true`, includes the health status for all instances. When `false`,
#' includes the health status for running instances only.
#'
#' Default: `false`
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_status
ec2_describe_instance_status <- function(Filters = NULL, InstanceIds = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL, IncludeAllInstances = NULL) {
op <- new_operation(
name = "DescribeInstanceStatus",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceStatuses")
)
input <- .ec2$describe_instance_status_input(Filters = Filters, InstanceIds = InstanceIds, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun, IncludeAllInstances = IncludeAllInstances)
output <- .ec2$describe_instance_status_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_status <- ec2_describe_instance_status
#' Describes a tree-based hierarchy that represents the physical host
#' placement of your EC2 instances within an Availability Zone or Local
#' Zone
#'
#' @description
#' Describes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_topology/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_topology/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' You can't specify this parameter and the instance IDs parameter in the
#' same request.
#'
#' Default: `20`
#' @param InstanceIds The instance IDs.
#'
#' Default: Describes all your instances.
#'
#' Constraints: Maximum 100 explicitly specified instance IDs.
#' @param GroupNames The name of the placement group that each instance is in.
#'
#' Constraints: Maximum 100 explicitly specified placement group names.
#' @param Filters The filters.
#'
#' - `availability-zone` - The name of the Availability Zone (for
#' example, `us-west-2a`) or Local Zone (for example,
#' `us-west-2-lax-1b`) that the instance is in.
#'
#' - `instance-type` - The instance type (for example, `p4d.24xlarge`) or
#' instance family (for example, `p4d*`). You can use the `*` wildcard
#' to match zero or more characters, or the `?` wildcard to match zero
#' or one character.
#'
#' - `zone-id` - The ID of the Availability Zone (for example,
#' `usw2-az2`) or Local Zone (for example, `usw2-lax1-az1`) that the
#' instance is in.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_topology
ec2_describe_instance_topology <- function(DryRun = NULL, NextToken = NULL, MaxResults = NULL, InstanceIds = NULL, GroupNames = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeInstanceTopology",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Instances")
)
input <- .ec2$describe_instance_topology_input(DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults, InstanceIds = InstanceIds, GroupNames = GroupNames, Filters = Filters)
output <- .ec2$describe_instance_topology_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_topology <- ec2_describe_instance_topology
#' Lists the instance types that are offered for the specified location
#'
#' @description
#' Lists the instance types that are offered for the specified location. If no location is specified, the default is to list the instance types that are offered in the current Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_type_offerings/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_type_offerings/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LocationType The location type.
#'
#' - `availability-zone` - The Availability Zone. When you specify a
#' location filter, it must be an Availability Zone for the current
#' Region.
#'
#' - `availability-zone-id` - The AZ ID. When you specify a location
#' filter, it must be an AZ ID for the current Region.
#'
#' - `outpost` - The Outpost ARN. When you specify a location filter, it
#' must be an Outpost ARN for the current Region.
#'
#' - `region` - The current Region. If you specify a location filter, it
#' must match the current Region.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `instance-type` - The instance type. For a list of possible values,
#' see
#' [Instance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html).
#'
#' - `location` - The location. For a list of possible identifiers, see
#' [Regions and
#' Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html).
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_type_offerings
ec2_describe_instance_type_offerings <- function(DryRun = NULL, LocationType = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeInstanceTypeOfferings",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceTypeOfferings")
)
input <- .ec2$describe_instance_type_offerings_input(DryRun = DryRun, LocationType = LocationType, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_instance_type_offerings_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_type_offerings <- ec2_describe_instance_type_offerings
#' Describes the specified instance types
#'
#' @description
#' Describes the specified instance types. By default, all instance types for the current Region are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instance_types/](https://www.paws-r-sdk.com/docs/ec2_describe_instance_types/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceTypes The instance types.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#'
#' - `auto-recovery-supported` - Indicates whether Amazon CloudWatch
#' action based recovery is supported (`true` | `false`).
#'
#' - `bare-metal` - Indicates whether it is a bare metal instance type
#' (`true` | `false`).
#'
#' - `burstable-performance-supported` - Indicates whether the instance
#' type is a burstable performance T instance type (`true` | `false`).
#'
#' - `current-generation` - Indicates whether this instance type is the
#' latest generation instance type of an instance family (`true` |
#' `false`).
#'
#' - `ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps` - The
#' baseline bandwidth performance for an EBS-optimized instance type,
#' in Mbps.
#'
#' - `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
#' input/output storage operations per second for an EBS-optimized
#' instance type.
#'
#' - `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
#' baseline throughput performance for an EBS-optimized instance type,
#' in MB/s.
#'
#' - `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
#' maximum bandwidth performance for an EBS-optimized instance type, in
#' Mbps.
#'
#' - `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
#' input/output storage operations per second for an EBS-optimized
#' instance type.
#'
#' - `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
#' maximum throughput performance for an EBS-optimized instance type,
#' in MB/s.
#'
#' - `ebs-info.ebs-optimized-support` - Indicates whether the instance
#' type is EBS-optimized (`supported` | `unsupported` | `default`).
#'
#' - `ebs-info.encryption-support` - Indicates whether EBS encryption is
#' supported (`supported` | `unsupported`).
#'
#' - `ebs-info.nvme-support` - Indicates whether non-volatile memory
#' express (NVMe) is supported for EBS volumes (`required` |
#' `supported` | `unsupported`).
#'
#' - `free-tier-eligible` - Indicates whether the instance type is
#' eligible to use in the free tier (`true` | `false`).
#'
#' - `hibernation-supported` - Indicates whether On-Demand hibernation is
#' supported (`true` | `false`).
#'
#' - `hypervisor` - The hypervisor (`nitro` | `xen`).
#'
#' - `instance-storage-info.disk.count` - The number of local disks.
#'
#' - `instance-storage-info.disk.size-in-gb` - The storage size of each
#' instance storage disk, in GB.
#'
#' - `instance-storage-info.disk.type` - The storage technology for the
#' local instance storage disks (`hdd` | `ssd`).
#'
#' - `instance-storage-info.encryption-support` - Indicates whether data
#' is encrypted at rest (`required` | `supported` | `unsupported`).
#'
#' - `instance-storage-info.nvme-support` - Indicates whether
#' non-volatile memory express (NVMe) is supported for instance store
#' (`required` | `supported` | `unsupported`).
#'
#' - `instance-storage-info.total-size-in-gb` - The total amount of
#' storage available from all local instance storage, in GB.
#'
#' - `instance-storage-supported` - Indicates whether the instance type
#' has local instance storage (`true` | `false`).
#'
#' - `instance-type` - The instance type (for example `c5.2xlarge` or
#' c5*).
#'
#' - `memory-info.size-in-mib` - The memory size.
#'
#' - `network-info.efa-info.maximum-efa-interfaces` - The maximum number
#' of Elastic Fabric Adapters (EFAs) per instance.
#'
#' - `network-info.efa-supported` - Indicates whether the instance type
#' supports Elastic Fabric Adapter (EFA) (`true` | `false`).
#'
#' - `network-info.ena-support` - Indicates whether Elastic Network
#' Adapter (ENA) is supported or required (`required` | `supported` |
#' `unsupported`).
#'
#' - `network-info.encryption-in-transit-supported` - Indicates whether
#' the instance type automatically encrypts in-transit traffic between
#' instances (`true` | `false`).
#'
#' - `network-info.ipv4-addresses-per-interface` - The maximum number of
#' private IPv4 addresses per network interface.
#'
#' - `network-info.ipv6-addresses-per-interface` - The maximum number of
#' private IPv6 addresses per network interface.
#'
#' - `network-info.ipv6-supported` - Indicates whether the instance type
#' supports IPv6 (`true` | `false`).
#'
#' - `network-info.maximum-network-cards` - The maximum number of network
#' cards per instance.
#'
#' - `network-info.maximum-network-interfaces` - The maximum number of
#' network interfaces per instance.
#'
#' - `network-info.network-performance` - The network performance (for
#' example, "25 Gigabit").
#'
#' - `nitro-enclaves-support` - Indicates whether Nitro Enclaves is
#' supported (`supported` | `unsupported`).
#'
#' - `nitro-tpm-support` - Indicates whether NitroTPM is supported
#' (`supported` | `unsupported`).
#'
#' - `nitro-tpm-info.supported-versions` - The supported NitroTPM version
#' (`2.0`).
#'
#' - `processor-info.supported-architecture` - The CPU architecture
#' (`arm64` | `i386` | `x86_64`).
#'
#' - `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
#' in GHz.
#'
#' - `processor-info.supported-features` - The supported CPU features
#' (`amd-sev-snp`).
#'
#' - `supported-boot-mode` - The boot mode (`legacy-bios` | `uefi`).
#'
#' - `supported-root-device-type` - The root device type (`ebs` |
#' `instance-store`).
#'
#' - `supported-usage-class` - The usage class (`on-demand` | `spot`).
#'
#' - `supported-virtualization-type` - The virtualization type (`hvm` |
#' `paravirtual`).
#'
#' - `vcpu-info.default-cores` - The default number of cores for the
#' instance type.
#'
#' - `vcpu-info.default-threads-per-core` - The default number of threads
#' per core for the instance type.
#'
#' - `vcpu-info.default-vcpus` - The default number of vCPUs for the
#' instance type.
#'
#' - `vcpu-info.valid-cores` - The number of cores that can be configured
#' for the instance type.
#'
#' - `vcpu-info.valid-threads-per-core` - The number of threads per core
#' that can be configured for the instance type. For example, "1" or
#' "1,2".
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instance_types
ec2_describe_instance_types <- function(DryRun = NULL, InstanceTypes = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeInstanceTypes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceTypes")
)
input <- .ec2$describe_instance_types_input(DryRun = DryRun, InstanceTypes = InstanceTypes, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_instance_types_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instance_types <- ec2_describe_instance_types
#' Describes the specified instances or all instances
#'
#' @description
#' Describes the specified instances or all instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_instances/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `affinity` - The affinity setting for an instance running on a
#' Dedicated Host (`default` | `host`).
#'
#' - `architecture` - The instance architecture (`i386` | `x86_64` |
#' `arm64`).
#'
#' - `availability-zone` - The Availability Zone of the instance.
#'
#' - `block-device-mapping.attach-time` - The attach time for an EBS
#' volume mapped to the instance, for example,
#' `2022-09-15T17:15:20.000Z`.
#'
#' - `block-device-mapping.delete-on-termination` - A Boolean that
#' indicates whether the EBS volume is deleted on instance termination.
#'
#' - `block-device-mapping.device-name` - The device name specified in
#' the block device mapping (for example, `/dev/sdh` or `xvdh`).
#'
#' - `block-device-mapping.status` - The status for the EBS volume
#' (`attaching` | `attached` | `detaching` | `detached`).
#'
#' - `block-device-mapping.volume-id` - The volume ID of the EBS volume.
#'
#' - `boot-mode` - The boot mode that was specified by the AMI
#' (`legacy-bios` | `uefi` | `uefi-preferred`).
#'
#' - `capacity-reservation-id` - The ID of the Capacity Reservation into
#' which the instance was launched.
#'
#' - `capacity-reservation-specification.capacity-reservation-preference` -
#' The instance's Capacity Reservation preference (`open` | `none`).
#'
#' - `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` -
#' The ID of the targeted Capacity Reservation.
#'
#' - `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` -
#' The ARN of the targeted Capacity Reservation group.
#'
#' - `client-token` - The idempotency token you provided when you
#' launched the instance.
#'
#' - `current-instance-boot-mode` - The boot mode that is used to launch
#' the instance at launch or start (`legacy-bios` | `uefi`).
#'
#' - `dns-name` - The public DNS name of the instance.
#'
#' - `ebs-optimized` - A Boolean that indicates whether the instance is
#' optimized for Amazon EBS I/O.
#'
#' - `ena-support` - A Boolean that indicates whether the instance is
#' enabled for enhanced networking with ENA.
#'
#' - `enclave-options.enabled` - A Boolean that indicates whether the
#' instance is enabled for Amazon Web Services Nitro Enclaves.
#'
#' - `hibernation-options.configured` - A Boolean that indicates whether
#' the instance is enabled for hibernation. A value of `true` means
#' that the instance is enabled for hibernation.
#'
#' - `host-id` - The ID of the Dedicated Host on which the instance is
#' running, if applicable.
#'
#' - `hypervisor` - The hypervisor type of the instance (`ovm` | `xen`).
#' The value `xen` is used for both Xen and Nitro hypervisors.
#'
#' - `iam-instance-profile.arn` - The instance profile associated with
#' the instance. Specified as an ARN.
#'
#' - `iam-instance-profile.id` - The instance profile associated with the
#' instance. Specified as an ID.
#'
#' - `iam-instance-profile.name` - The instance profile associated with
#' the instance. Specified as an name.
#'
#' - `image-id` - The ID of the image used to launch the instance.
#'
#' - `instance-id` - The ID of the instance.
#'
#' - `instance-lifecycle` - Indicates whether this is a Spot Instance, a
#' Scheduled Instance, or a Capacity Block (`spot` | `scheduled` |
#' `capacity-block`).
#'
#' - `instance-state-code` - The state of the instance, as a 16-bit
#' unsigned integer. The high byte is used for internal purposes and
#' should be ignored. The low byte is set based on the state
#' represented. The valid values are: 0 (pending), 16 (running), 32
#' (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
#'
#' - `instance-state-name` - The state of the instance (`pending` |
#' `running` | `shutting-down` | `terminated` | `stopping` |
#' `stopped`).
#'
#' - `instance-type` - The type of instance (for example, `t2.micro`).
#'
#' - `instance.group-id` - The ID of the security group for the instance.
#'
#' - `instance.group-name` - The name of the security group for the
#' instance.
#'
#' - `ip-address` - The public IPv4 address of the instance.
#'
#' - `ipv6-address` - The IPv6 address of the instance.
#'
#' - `kernel-id` - The kernel ID.
#'
#' - `key-name` - The name of the key pair used when the instance was
#' launched.
#'
#' - `launch-index` - When launching multiple instances, this is the
#' index for the instance in the launch group (for example, 0, 1, 2,
#' and so on).
#'
#' - `launch-time` - The time when the instance was launched, in the ISO
#' 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
#' example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`),
#' for example, `2021-09-29T*`, which matches an entire day.
#'
#' - `maintenance-options.auto-recovery` - The current automatic recovery
#' behavior of the instance (`disabled` | `default`).
#'
#' - `metadata-options.http-endpoint` - The status of access to the HTTP
#' metadata endpoint on your instance (`enabled` | `disabled`)
#'
#' - `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4
#' endpoint is enabled (`disabled` | `enabled`).
#'
#' - `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6
#' endpoint is enabled (`disabled` | `enabled`).
#'
#' - `metadata-options.http-put-response-hop-limit` - The HTTP metadata
#' request put response hop limit (integer, possible values `1` to
#' `64`)
#'
#' - `metadata-options.http-tokens` - The metadata request authorization
#' state (`optional` | `required`)
#'
#' - `metadata-options.instance-metadata-tags` - The status of access to
#' instance tags from the instance metadata (`enabled` | `disabled`)
#'
#' - `metadata-options.state` - The state of the metadata option changes
#' (`pending` | `applied`).
#'
#' - `monitoring-state` - Indicates whether detailed monitoring is
#' enabled (`disabled` | `enabled`).
#'
#' - `network-interface.addresses.association.allocation-id` - The
#' allocation ID.
#'
#' - `network-interface.addresses.association.association-id` - The
#' association ID.
#'
#' - `network-interface.addresses.association.carrier-ip` - The carrier
#' IP address.
#'
#' - `network-interface.addresses.association.customer-owned-ip` - The
#' customer-owned IP address.
#'
#' - `network-interface.addresses.association.ip-owner-id` - The owner ID
#' of the private IPv4 address associated with the network interface.
#'
#' - `network-interface.addresses.association.public-dns-name` - The
#' public DNS name.
#'
#' - `network-interface.addresses.association.public-ip` - The ID of the
#' association of an Elastic IP address (IPv4) with a network
#' interface.
#'
#' - `network-interface.addresses.primary` - Specifies whether the IPv4
#' address of the network interface is the primary private IPv4
#' address.
#'
#' - `network-interface.addresses.private-dns-name` - The private DNS
#' name.
#'
#' - `network-interface.addresses.private-ip-address` - The private IPv4
#' address associated with the network interface.
#'
#' - `network-interface.association.allocation-id` - The allocation ID
#' returned when you allocated the Elastic IP address (IPv4) for your
#' network interface.
#'
#' - `network-interface.association.association-id` - The association ID
#' returned when the network interface was associated with an IPv4
#' address.
#'
#' - `network-interface.association.carrier-ip` - The customer-owned IP
#' address.
#'
#' - `network-interface.association.customer-owned-ip` - The
#' customer-owned IP address.
#'
#' - `network-interface.association.ip-owner-id` - The owner of the
#' Elastic IP address (IPv4) associated with the network interface.
#'
#' - `network-interface.association.public-dns-name` - The public DNS
#' name.
#'
#' - `network-interface.association.public-ip` - The address of the
#' Elastic IP address (IPv4) bound to the network interface.
#'
#' - `network-interface.attachment.attach-time` - The time that the
#' network interface was attached to an instance.
#'
#' - `network-interface.attachment.attachment-id` - The ID of the
#' interface attachment.
#'
#' - `network-interface.attachment.delete-on-termination` - Specifies
#' whether the attachment is deleted when an instance is terminated.
#'
#' - `network-interface.attachment.device-index` - The device index to
#' which the network interface is attached.
#'
#' - `network-interface.attachment.instance-id` - The ID of the instance
#' to which the network interface is attached.
#'
#' - `network-interface.attachment.instance-owner-id` - The owner ID of
#' the instance to which the network interface is attached.
#'
#' - `network-interface.attachment.network-card-index` - The index of the
#' network card.
#'
#' - `network-interface.attachment.status` - The status of the attachment
#' (`attaching` | `attached` | `detaching` | `detached`).
#'
#' - `network-interface.availability-zone` - The Availability Zone for
#' the network interface.
#'
#' - `network-interface.deny-all-igw-traffic` - A Boolean that indicates
#' whether a network interface with an IPv6 address is unreachable from
#' the public internet.
#'
#' - `network-interface.description` - The description of the network
#' interface.
#'
#' - `network-interface.group-id` - The ID of a security group associated
#' with the network interface.
#'
#' - `network-interface.group-name` - The name of a security group
#' associated with the network interface.
#'
#' - `network-interface.ipv4-prefixes.ipv4-prefix` - The IPv4 prefixes
#' that are assigned to the network interface.
#'
#' - `network-interface.ipv6-address` - The IPv6 address associated with
#' the network interface.
#'
#' - `network-interface.ipv6-addresses.ipv6-address` - The IPv6 address
#' associated with the network interface.
#'
#' - `network-interface.ipv6-addresses.is-primary-ipv6` - A Boolean that
#' indicates whether this is the primary IPv6 address.
#'
#' - `network-interface.ipv6-native` - A Boolean that indicates whether
#' this is an IPv6 only network interface.
#'
#' - `network-interface.ipv6-prefixes.ipv6-prefix` - The IPv6 prefix
#' assigned to the network interface.
#'
#' - `network-interface.mac-address` - The MAC address of the network
#' interface.
#'
#' - `network-interface.network-interface-id` - The ID of the network
#' interface.
#'
#' - `network-interface.outpost-arn` - The ARN of the Outpost.
#'
#' - `network-interface.owner-id` - The ID of the owner of the network
#' interface.
#'
#' - `network-interface.private-dns-name` - The private DNS name of the
#' network interface.
#'
#' - `network-interface.private-ip-address` - The private IPv4 address.
#'
#' - `network-interface.public-dns-name` - The public DNS name.
#'
#' - `network-interface.requester-id` - The requester ID for the network
#' interface.
#'
#' - `network-interface.requester-managed` - Indicates whether the
#' network interface is being managed by Amazon Web Services.
#'
#' - `network-interface.status` - The status of the network interface
#' (`available`) | `in-use`).
#'
#' - `network-interface.source-dest-check` - Whether the network
#' interface performs source/destination checking. A value of `true`
#' means that checking is enabled, and `false` means that checking is
#' disabled. The value must be `false` for the network interface to
#' perform network address translation (NAT) in your VPC.
#'
#' - `network-interface.subnet-id` - The ID of the subnet for the network
#' interface.
#'
#' - `network-interface.tag-key` - The key of a tag assigned to the
#' network interface.
#'
#' - `network-interface.tag-value` - The value of a tag assigned to the
#' network interface.
#'
#' - `network-interface.vpc-id` - The ID of the VPC for the network
#' interface.
#'
#' - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
#'
#' - `owner-id` - The Amazon Web Services account ID of the instance
#' owner.
#'
#' - `placement-group-name` - The name of the placement group for the
#' instance.
#'
#' - `placement-partition-number` - The partition in which the instance
#' is located.
#'
#' - `platform` - The platform. To list only Windows instances, use
#' `windows`.
#'
#' - `platform-details` - The platform (`Linux/UNIX` |
#' `Red Hat BYOL Linux` | ` Red Hat Enterprise Linux` |
#' `Red Hat Enterprise Linux with HA` |
#' `Red Hat Enterprise Linux with SQL Server Standard and HA` |
#' `Red Hat Enterprise Linux with SQL Server Enterprise and HA` |
#' `Red Hat Enterprise Linux with SQL Server Standard` |
#' `Red Hat Enterprise Linux with SQL Server Web` |
#' `Red Hat Enterprise Linux with SQL Server Enterprise` |
#' `SQL Server Enterprise` | `SQL Server Standard` | `SQL Server Web` |
#' `SUSE Linux` | `Ubuntu Pro` | `Windows` | `Windows BYOL` |
#' `Windows with SQL Server Enterprise` |
#' `Windows with SQL Server Standard` | `Windows with SQL Server Web`).
#'
#' - `private-dns-name` - The private IPv4 DNS name of the instance.
#'
#' - `private-dns-name-options.enable-resource-name-dns-a-record` - A
#' Boolean that indicates whether to respond to DNS queries for
#' instance hostnames with DNS A records.
#'
#' - `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A
#' Boolean that indicates whether to respond to DNS queries for
#' instance hostnames with DNS AAAA records.
#'
#' - `private-dns-name-options.hostname-type` - The type of hostname
#' (`ip-name` | `resource-name`).
#'
#' - `private-ip-address` - The private IPv4 address of the instance.
#'
#' - `product-code` - The product code associated with the AMI used to
#' launch the instance.
#'
#' - `product-code.type` - The type of product code (`devpay` |
#' `marketplace`).
#'
#' - `ramdisk-id` - The RAM disk ID.
#'
#' - `reason` - The reason for the current state of the instance (for
#' example, shows "User Initiated \[date\]" when you stop or terminate
#' the instance). Similar to the state-reason-code filter.
#'
#' - `requester-id` - The ID of the entity that launched the instance on
#' your behalf (for example, Amazon Web Services Management Console,
#' Auto Scaling, and so on).
#'
#' - `reservation-id` - The ID of the instance's reservation. A
#' reservation ID is created any time you launch an instance. A
#' reservation ID has a one-to-one relationship with an instance launch
#' request, but can be associated with more than one instance if you
#' launch multiple instances using the same launch request. For
#' example, if you launch one instance, you get one reservation ID. If
#' you launch ten instances using the same launch request, you also get
#' one reservation ID.
#'
#' - `root-device-name` - The device name of the root device volume (for
#' example, `/dev/sda1`).
#'
#' - `root-device-type` - The type of the root device volume (`ebs` |
#' `instance-store`).
#'
#' - `source-dest-check` - Indicates whether the instance performs
#' source/destination checking. A value of `true` means that checking
#' is enabled, and `false` means that checking is disabled. The value
#' must be `false` for the instance to perform network address
#' translation (NAT) in your VPC.
#'
#' - `spot-instance-request-id` - The ID of the Spot Instance request.
#'
#' - `state-reason-code` - The reason code for the state change.
#'
#' - `state-reason-message` - A message that describes the state change.
#'
#' - `subnet-id` - The ID of the subnet for the instance.
#'
#' - `tag:<key>` - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources that have a tag with a specific key,
#' regardless of the tag value.
#'
#' - `tenancy` - The tenancy of an instance (`dedicated` | `default` |
#' `host`).
#'
#' - `tpm-support` - Indicates if the instance is configured for NitroTPM
#' support (`v2.0`).
#'
#' - `usage-operation` - The usage operation value for the instance
#' ([`run_instances`][ec2_run_instances] | `RunInstances:00g0` |
#' `RunInstances:0010` | `RunInstances:1010` | `RunInstances:1014` |
#' `RunInstances:1110` | `RunInstances:0014` | `RunInstances:0210` |
#' `RunInstances:0110` | `RunInstances:0100` | `RunInstances:0004` |
#' `RunInstances:0200` | `RunInstances:000g` | `RunInstances:0g00` |
#' `RunInstances:0002` | `RunInstances:0800` | `RunInstances:0102` |
#' `RunInstances:0006` | `RunInstances:0202`).
#'
#' - `usage-operation-update-time` - The time that the usage operation
#' was last updated, for example, `2022-09-15T17:15:20.000Z`.
#'
#' - `virtualization-type` - The virtualization type of the instance
#' (`paravirtual` | `hvm`).
#'
#' - `vpc-id` - The ID of the VPC that the instance is running in.
#' @param InstanceIds The instance IDs.
#'
#' Default: Describes all your instances.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' You cannot specify this parameter and the instance IDs parameter in the
#' same request.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_instances
ec2_describe_instances <- function(Filters = NULL, InstanceIds = NULL, DryRun = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeInstances",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Reservations")
)
input <- .ec2$describe_instances_input(Filters = Filters, InstanceIds = InstanceIds, DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_instances <- ec2_describe_instances
#' Describes one or more of your internet gateways
#'
#' @description
#' Describes one or more of your internet gateways.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_internet_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_internet_gateways/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `attachment.state` - The current state of the attachment between the
#' gateway and the VPC (`available`). Present only if a VPC is
#' attached.
#'
#' - `attachment.vpc-id` - The ID of an attached VPC.
#'
#' - `internet-gateway-id` - The ID of the Internet gateway.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' internet gateway.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InternetGatewayIds The IDs of the internet gateways.
#'
#' Default: Describes all your internet gateways.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_internet_gateways
ec2_describe_internet_gateways <- function(Filters = NULL, DryRun = NULL, InternetGatewayIds = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeInternetGateways",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InternetGateways")
)
input <- .ec2$describe_internet_gateways_input(Filters = Filters, DryRun = DryRun, InternetGatewayIds = InternetGatewayIds, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_internet_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_internet_gateways <- ec2_describe_internet_gateways
#' Describes your Autonomous System Numbers (ASNs), their provisioning
#' statuses, and the BYOIP CIDRs with which they are associated
#'
#' @description
#' Describes your Autonomous System Numbers (ASNs), their provisioning statuses, and the BYOIP CIDRs with which they are associated. For more information, see [Tutorial: Bring your ASN to IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) in the *Amazon VPC IPAM guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipam_byoasn/](https://www.paws-r-sdk.com/docs/ec2_describe_ipam_byoasn/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipam_byoasn
ec2_describe_ipam_byoasn <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeIpamByoasn",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_ipam_byoasn_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_ipam_byoasn_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipam_byoasn <- ec2_describe_ipam_byoasn
#' Get information about your IPAM pools
#'
#' @description
#' Get information about your IPAM pools.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipam_pools/](https://www.paws-r-sdk.com/docs/ec2_describe_ipam_pools/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters for the request. For more information about
#' filtering, see [Filtering CLI
#' output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html).
#' @param MaxResults The maximum number of results to return in the request.
#' @param NextToken The token for the next page of results.
#' @param IpamPoolIds The IDs of the IPAM pools you would like information on.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipam_pools
ec2_describe_ipam_pools <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, IpamPoolIds = NULL) {
op <- new_operation(
name = "DescribeIpamPools",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamPools")
)
input <- .ec2$describe_ipam_pools_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, IpamPoolIds = IpamPoolIds)
output <- .ec2$describe_ipam_pools_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipam_pools <- ec2_describe_ipam_pools
#' Describes IPAM resource discoveries
#'
#' @description
#' Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipam_resource_discoveries/](https://www.paws-r-sdk.com/docs/ec2_describe_ipam_resource_discoveries/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryIds The IPAM resource discovery IDs.
#' @param NextToken Specify the pagination token from a previous request to retrieve the
#' next page of results.
#' @param MaxResults The maximum number of resource discoveries to return in one page of
#' results.
#' @param Filters The resource discovery filters.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipam_resource_discoveries
ec2_describe_ipam_resource_discoveries <- function(DryRun = NULL, IpamResourceDiscoveryIds = NULL, NextToken = NULL, MaxResults = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeIpamResourceDiscoveries",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamResourceDiscoveries")
)
input <- .ec2$describe_ipam_resource_discoveries_input(DryRun = DryRun, IpamResourceDiscoveryIds = IpamResourceDiscoveryIds, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters)
output <- .ec2$describe_ipam_resource_discoveries_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipam_resource_discoveries <- ec2_describe_ipam_resource_discoveries
#' Describes resource discovery association with an Amazon VPC IPAM
#'
#' @description
#' Describes resource discovery association with an Amazon VPC IPAM. An associated resource discovery is a resource discovery that has been associated with an IPAM..
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipam_resource_discovery_associations/](https://www.paws-r-sdk.com/docs/ec2_describe_ipam_resource_discovery_associations/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryAssociationIds The resource discovery association IDs.
#' @param NextToken Specify the pagination token from a previous request to retrieve the
#' next page of results.
#' @param MaxResults The maximum number of resource discovery associations to return in one
#' page of results.
#' @param Filters The resource discovery association filters.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipam_resource_discovery_associations
ec2_describe_ipam_resource_discovery_associations <- function(DryRun = NULL, IpamResourceDiscoveryAssociationIds = NULL, NextToken = NULL, MaxResults = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeIpamResourceDiscoveryAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamResourceDiscoveryAssociations")
)
input <- .ec2$describe_ipam_resource_discovery_associations_input(DryRun = DryRun, IpamResourceDiscoveryAssociationIds = IpamResourceDiscoveryAssociationIds, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters)
output <- .ec2$describe_ipam_resource_discovery_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipam_resource_discovery_associations <- ec2_describe_ipam_resource_discovery_associations
#' Get information about your IPAM scopes
#'
#' @description
#' Get information about your IPAM scopes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipam_scopes/](https://www.paws-r-sdk.com/docs/ec2_describe_ipam_scopes/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters for the request. For more information about
#' filtering, see [Filtering CLI
#' output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html).
#' @param MaxResults The maximum number of results to return in the request.
#' @param NextToken The token for the next page of results.
#' @param IpamScopeIds The IDs of the scopes you want information on.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipam_scopes
ec2_describe_ipam_scopes <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, IpamScopeIds = NULL) {
op <- new_operation(
name = "DescribeIpamScopes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamScopes")
)
input <- .ec2$describe_ipam_scopes_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, IpamScopeIds = IpamScopeIds)
output <- .ec2$describe_ipam_scopes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipam_scopes <- ec2_describe_ipam_scopes
#' Get information about your IPAM pools
#'
#' @description
#' Get information about your IPAM pools.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipams/](https://www.paws-r-sdk.com/docs/ec2_describe_ipams/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters for the request. For more information about
#' filtering, see [Filtering CLI
#' output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html).
#' @param MaxResults The maximum number of results to return in the request.
#' @param NextToken The token for the next page of results.
#' @param IpamIds The IDs of the IPAMs you want information on.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipams
ec2_describe_ipams <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, IpamIds = NULL) {
op <- new_operation(
name = "DescribeIpams",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Ipams")
)
input <- .ec2$describe_ipams_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, IpamIds = IpamIds)
output <- .ec2$describe_ipams_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipams <- ec2_describe_ipams
#' Describes your IPv6 address pools
#'
#' @description
#' Describes your IPv6 address pools.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_ipv_6_pools/](https://www.paws-r-sdk.com/docs/ec2_describe_ipv_6_pools/) for full documentation.
#'
#' @param PoolIds The IDs of the IPv6 address pools.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_ipv_6_pools
ec2_describe_ipv_6_pools <- function(PoolIds = NULL, NextToken = NULL, MaxResults = NULL, DryRun = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribeIpv6Pools",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Ipv6Pools")
)
input <- .ec2$describe_ipv_6_pools_input(PoolIds = PoolIds, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun, Filters = Filters)
output <- .ec2$describe_ipv_6_pools_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_ipv_6_pools <- ec2_describe_ipv_6_pools
#' Describes the specified key pairs or all of your key pairs
#'
#' @description
#' Describes the specified key pairs or all of your key pairs.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_key_pairs/](https://www.paws-r-sdk.com/docs/ec2_describe_key_pairs/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `key-pair-id` - The ID of the key pair.
#'
#' - `fingerprint` - The fingerprint of the key pair.
#'
#' - `key-name` - The name of the key pair.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#' @param KeyNames The key pair names.
#'
#' Default: Describes all of your key pairs.
#' @param KeyPairIds The IDs of the key pairs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param IncludePublicKey If `true`, the public key material is included in the response.
#'
#' Default: `false`
#'
#' @keywords internal
#'
#' @rdname ec2_describe_key_pairs
ec2_describe_key_pairs <- function(Filters = NULL, KeyNames = NULL, KeyPairIds = NULL, DryRun = NULL, IncludePublicKey = NULL) {
op <- new_operation(
name = "DescribeKeyPairs",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "KeyPairs")
)
input <- .ec2$describe_key_pairs_input(Filters = Filters, KeyNames = KeyNames, KeyPairIds = KeyPairIds, DryRun = DryRun, IncludePublicKey = IncludePublicKey)
output <- .ec2$describe_key_pairs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_key_pairs <- ec2_describe_key_pairs
#' Describes one or more versions of a specified launch template
#'
#' @description
#' Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions. You can also describe all the latest versions or all the default versions of all the launch templates in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_launch_template_versions/](https://www.paws-r-sdk.com/docs/ec2_describe_launch_template_versions/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LaunchTemplateId The ID of the launch template.
#'
#' To describe one or more versions of a specified launch template, you
#' must specify either the launch template ID or the launch template name,
#' but not both.
#'
#' To describe all the latest or default launch template versions in your
#' account, you must omit this parameter.
#' @param LaunchTemplateName The name of the launch template.
#'
#' To describe one or more versions of a specified launch template, you
#' must specify either the launch template name or the launch template ID,
#' but not both.
#'
#' To describe all the latest or default launch template versions in your
#' account, you must omit this parameter.
#' @param Versions One or more versions of the launch template. Valid values depend on
#' whether you are describing a specified launch template (by ID or name)
#' or all launch templates in your account.
#'
#' To describe one or more versions of a specified launch template, valid
#' values are `$Latest`, `$Default`, and numbers.
#'
#' To describe all launch templates in your account that are defined as the
#' latest version, the valid value is `$Latest`. To describe all launch
#' templates in your account that are defined as the default version, the
#' valid value is `$Default`. You can specify `$Latest` and `$Default` in
#' the same request. You cannot specify numbers.
#' @param MinVersion The version number after which to describe launch template versions.
#' @param MaxVersion The version number up to which to describe launch template versions.
#' @param NextToken The token to request the next page of results.
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another call with the returned `NextToken`
#' value. This value can be between 1 and 200.
#' @param Filters One or more filters.
#'
#' - `create-time` - The time the launch template version was created.
#'
#' - `ebs-optimized` - A boolean that indicates whether the instance is
#' optimized for Amazon EBS I/O.
#'
#' - `http-endpoint` - Indicates whether the HTTP metadata endpoint on
#' your instances is enabled (`enabled` | `disabled`).
#'
#' - `http-protocol-ipv4` - Indicates whether the IPv4 endpoint for the
#' instance metadata service is enabled (`enabled` | `disabled`).
#'
#' - `host-resource-group-arn` - The ARN of the host resource group in
#' which to launch the instances.
#'
#' - `http-tokens` - The state of token usage for your instance metadata
#' requests (`optional` | `required`).
#'
#' - `iam-instance-profile` - The ARN of the IAM instance profile.
#'
#' - `image-id` - The ID of the AMI.
#'
#' - `instance-type` - The instance type.
#'
#' - `is-default-version` - A boolean that indicates whether the launch
#' template version is the default version.
#'
#' - `kernel-id` - The kernel ID.
#'
#' - `license-configuration-arn` - The ARN of the license configuration.
#'
#' - `network-card-index` - The index of the network card.
#'
#' - `ram-disk-id` - The RAM disk ID.
#' @param ResolveAlias If `true`, and if a Systems Manager parameter is specified for
#' `ImageId`, the AMI ID is displayed in the response for `imageId`.
#'
#' If `false`, and if a Systems Manager parameter is specified for
#' `ImageId`, the parameter is displayed in the response for `imageId`.
#'
#' For more information, see [Use a Systems Manager parameter instead of an
#' AMI
#' ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id)
#' in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' Default: `false`
#'
#' @keywords internal
#'
#' @rdname ec2_describe_launch_template_versions
ec2_describe_launch_template_versions <- function(DryRun = NULL, LaunchTemplateId = NULL, LaunchTemplateName = NULL, Versions = NULL, MinVersion = NULL, MaxVersion = NULL, NextToken = NULL, MaxResults = NULL, Filters = NULL, ResolveAlias = NULL) {
op <- new_operation(
name = "DescribeLaunchTemplateVersions",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LaunchTemplateVersions")
)
input <- .ec2$describe_launch_template_versions_input(DryRun = DryRun, LaunchTemplateId = LaunchTemplateId, LaunchTemplateName = LaunchTemplateName, Versions = Versions, MinVersion = MinVersion, MaxVersion = MaxVersion, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters, ResolveAlias = ResolveAlias)
output <- .ec2$describe_launch_template_versions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_launch_template_versions <- ec2_describe_launch_template_versions
#' Describes one or more launch templates
#'
#' @description
#' Describes one or more launch templates.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_launch_templates/](https://www.paws-r-sdk.com/docs/ec2_describe_launch_templates/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LaunchTemplateIds One or more launch template IDs.
#' @param LaunchTemplateNames One or more launch template names.
#' @param Filters One or more filters.
#'
#' - `create-time` - The time the launch template was created.
#'
#' - `launch-template-name` - The name of the launch template.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param NextToken The token to request the next page of results.
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another call with the returned `NextToken`
#' value. This value can be between 1 and 200.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_launch_templates
ec2_describe_launch_templates <- function(DryRun = NULL, LaunchTemplateIds = NULL, LaunchTemplateNames = NULL, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeLaunchTemplates",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LaunchTemplates")
)
input <- .ec2$describe_launch_templates_input(DryRun = DryRun, LaunchTemplateIds = LaunchTemplateIds, LaunchTemplateNames = LaunchTemplateNames, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_launch_templates_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_launch_templates <- ec2_describe_launch_templates
#' Describes the associations between virtual interface groups and local
#' gateway route tables
#'
#' @description
#' Describes the associations between virtual interface groups and local gateway route tables.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_route_table_virtual_interface_group_associations/](https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_route_table_virtual_interface_group_associations/) for full documentation.
#'
#' @param LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds The IDs of the associations.
#' @param Filters One or more filters.
#'
#' - `local-gateway-id` - The ID of a local gateway.
#'
#' - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of
#' the local gateway route table for the virtual interface group.
#'
#' - `local-gateway-route-table-id` - The ID of the local gateway route
#' table.
#'
#' - `local-gateway-route-table-virtual-interface-group-association-id` -
#' The ID of the association.
#'
#' - `local-gateway-route-table-virtual-interface-group-id` - The ID of
#' the virtual interface group.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' local gateway virtual interface group association.
#'
#' - `state` - The state of the association.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_descr_local_gatew_route_table_virtu_inter_group_assoc
ec2_describe_local_gateway_route_table_virtual_interface_group_associations <- function(LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LocalGatewayRouteTableVirtualInterfaceGroupAssociations")
)
input <- .ec2$describe_local_gateway_route_table_virtual_interface_group_associations_input(LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds = LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_local_gateway_route_table_virtual_interface_group_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_local_gateway_route_table_virtual_interface_group_associations <- ec2_describe_local_gateway_route_table_virtual_interface_group_associations
#' Describes the specified associations between VPCs and local gateway
#' route tables
#'
#' @description
#' Describes the specified associations between VPCs and local gateway route tables.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_route_table_vpc_associations/](https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_route_table_vpc_associations/) for full documentation.
#'
#' @param LocalGatewayRouteTableVpcAssociationIds The IDs of the associations.
#' @param Filters One or more filters.
#'
#' - `local-gateway-id` - The ID of a local gateway.
#'
#' - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of
#' the local gateway route table for the association.
#'
#' - `local-gateway-route-table-id` - The ID of the local gateway route
#' table.
#'
#' - `local-gateway-route-table-vpc-association-id` - The ID of the
#' association.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' local gateway route table for the association.
#'
#' - `state` - The state of the association.
#'
#' - `vpc-id` - The ID of the VPC.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_local_gateway_route_table_vpc_associations
ec2_describe_local_gateway_route_table_vpc_associations <- function(LocalGatewayRouteTableVpcAssociationIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLocalGatewayRouteTableVpcAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LocalGatewayRouteTableVpcAssociations")
)
input <- .ec2$describe_local_gateway_route_table_vpc_associations_input(LocalGatewayRouteTableVpcAssociationIds = LocalGatewayRouteTableVpcAssociationIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_local_gateway_route_table_vpc_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_local_gateway_route_table_vpc_associations <- ec2_describe_local_gateway_route_table_vpc_associations
#' Describes one or more local gateway route tables
#'
#' @description
#' Describes one or more local gateway route tables. By default, all local gateway route tables are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_route_tables/](https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_route_tables/) for full documentation.
#'
#' @param LocalGatewayRouteTableIds The IDs of the local gateway route tables.
#' @param Filters One or more filters.
#'
#' - `local-gateway-id` - The ID of a local gateway.
#'
#' - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of
#' the local gateway route table.
#'
#' - `local-gateway-route-table-id` - The ID of a local gateway route
#' table.
#'
#' - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' local gateway route table.
#'
#' - `state` - The state of the local gateway route table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_local_gateway_route_tables
ec2_describe_local_gateway_route_tables <- function(LocalGatewayRouteTableIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLocalGatewayRouteTables",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LocalGatewayRouteTables")
)
input <- .ec2$describe_local_gateway_route_tables_input(LocalGatewayRouteTableIds = LocalGatewayRouteTableIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_local_gateway_route_tables_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_local_gateway_route_tables <- ec2_describe_local_gateway_route_tables
#' Describes the specified local gateway virtual interface groups
#'
#' @description
#' Describes the specified local gateway virtual interface groups.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_virtual_interface_groups/](https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_virtual_interface_groups/) for full documentation.
#'
#' @param LocalGatewayVirtualInterfaceGroupIds The IDs of the virtual interface groups.
#' @param Filters One or more filters.
#'
#' - `local-gateway-id` - The ID of a local gateway.
#'
#' - `local-gateway-virtual-interface-group-id` - The ID of the virtual
#' interface group.
#'
#' - `local-gateway-virtual-interface-id` - The ID of the virtual
#' interface.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' local gateway virtual interface group.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_local_gateway_virtual_interface_groups
ec2_describe_local_gateway_virtual_interface_groups <- function(LocalGatewayVirtualInterfaceGroupIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLocalGatewayVirtualInterfaceGroups",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LocalGatewayVirtualInterfaceGroups")
)
input <- .ec2$describe_local_gateway_virtual_interface_groups_input(LocalGatewayVirtualInterfaceGroupIds = LocalGatewayVirtualInterfaceGroupIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_local_gateway_virtual_interface_groups_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_local_gateway_virtual_interface_groups <- ec2_describe_local_gateway_virtual_interface_groups
#' Describes the specified local gateway virtual interfaces
#'
#' @description
#' Describes the specified local gateway virtual interfaces.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_virtual_interfaces/](https://www.paws-r-sdk.com/docs/ec2_describe_local_gateway_virtual_interfaces/) for full documentation.
#'
#' @param LocalGatewayVirtualInterfaceIds The IDs of the virtual interfaces.
#' @param Filters One or more filters.
#'
#' - `local-address` - The local address.
#'
#' - `local-bgp-asn` - The Border Gateway Protocol (BGP) Autonomous
#' System Number (ASN) of the local gateway.
#'
#' - `local-gateway-id` - The ID of the local gateway.
#'
#' - `local-gateway-virtual-interface-id` - The ID of the virtual
#' interface.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' local gateway virtual interface.
#'
#' - `peer-address` - The peer address.
#'
#' - `peer-bgp-asn` - The peer BGP ASN.
#'
#' - `vlan` - The ID of the VLAN.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_local_gateway_virtual_interfaces
ec2_describe_local_gateway_virtual_interfaces <- function(LocalGatewayVirtualInterfaceIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLocalGatewayVirtualInterfaces",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LocalGatewayVirtualInterfaces")
)
input <- .ec2$describe_local_gateway_virtual_interfaces_input(LocalGatewayVirtualInterfaceIds = LocalGatewayVirtualInterfaceIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_local_gateway_virtual_interfaces_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_local_gateway_virtual_interfaces <- ec2_describe_local_gateway_virtual_interfaces
#' Describes one or more local gateways
#'
#' @description
#' Describes one or more local gateways. By default, all local gateways are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_local_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_local_gateways/) for full documentation.
#'
#' @param LocalGatewayIds The IDs of the local gateways.
#' @param Filters One or more filters.
#'
#' - `local-gateway-id` - The ID of a local gateway.
#'
#' - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' local gateway.
#'
#' - `state` - The state of the association.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_local_gateways
ec2_describe_local_gateways <- function(LocalGatewayIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLocalGateways",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LocalGateways")
)
input <- .ec2$describe_local_gateways_input(LocalGatewayIds = LocalGatewayIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_local_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_local_gateways <- ec2_describe_local_gateways
#' Describes the lock status for a snapshot
#'
#' @description
#' Describes the lock status for a snapshot.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_locked_snapshots/](https://www.paws-r-sdk.com/docs/ec2_describe_locked_snapshots/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `lock-state` - The state of the snapshot lock (`compliance-cooloff`
#' | `governance` | `compliance` | `expired`).
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param SnapshotIds The IDs of the snapshots for which to view the lock status.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_locked_snapshots
ec2_describe_locked_snapshots <- function(Filters = NULL, MaxResults = NULL, NextToken = NULL, SnapshotIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeLockedSnapshots",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_locked_snapshots_input(Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, SnapshotIds = SnapshotIds, DryRun = DryRun)
output <- .ec2$describe_locked_snapshots_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_locked_snapshots <- ec2_describe_locked_snapshots
#' Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac
#' Dedicated Hosts
#'
#' @description
#' Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_mac_hosts/](https://www.paws-r-sdk.com/docs/ec2_describe_mac_hosts/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone of the EC2 Mac Dedicated
#' Host.
#'
#' - `instance-type` - The instance type size that the EC2 Mac Dedicated
#' Host is configured to support.
#' @param HostIds The IDs of the EC2 Mac Dedicated Hosts.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results can be seen by sending another request with
#' the returned `nextToken` value. This value can be between 5 and 500. If
#' `maxResults` is given a larger value than 500, you receive an error.
#' @param NextToken The token to use to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_mac_hosts
ec2_describe_mac_hosts <- function(Filters = NULL, HostIds = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeMacHosts",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "MacHosts")
)
input <- .ec2$describe_mac_hosts_input(Filters = Filters, HostIds = HostIds, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_mac_hosts_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_mac_hosts <- ec2_describe_mac_hosts
#' Describes your managed prefix lists and any Amazon Web Services-managed
#' prefix lists
#'
#' @description
#' Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_managed_prefix_lists/](https://www.paws-r-sdk.com/docs/ec2_describe_managed_prefix_lists/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters.
#'
#' - `owner-id` - The ID of the prefix list owner.
#'
#' - `prefix-list-id` - The ID of the prefix list.
#'
#' - `prefix-list-name` - The name of the prefix list.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param PrefixListIds One or more prefix list IDs.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_managed_prefix_lists
ec2_describe_managed_prefix_lists <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, PrefixListIds = NULL) {
op <- new_operation(
name = "DescribeManagedPrefixLists",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "PrefixLists")
)
input <- .ec2$describe_managed_prefix_lists_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, PrefixListIds = PrefixListIds)
output <- .ec2$describe_managed_prefix_lists_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_managed_prefix_lists <- ec2_describe_managed_prefix_lists
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_moving_addresses/](https://www.paws-r-sdk.com/docs/ec2_describe_moving_addresses/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `moving-status` - The status of the Elastic IP address
#' (`MovingToVpc` | `RestoringToClassic`).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results of the initial request can be seen by
#' sending another request with the returned `NextToken` value. This value
#' can be between 5 and 1000; if `MaxResults` is given a value outside of
#' this range, an error is returned.
#'
#' Default: If no value is provided, the default is 1000.
#' @param NextToken The token for the next page of results.
#' @param PublicIps One or more Elastic IP addresses.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_moving_addresses
ec2_describe_moving_addresses <- function(Filters = NULL, DryRun = NULL, MaxResults = NULL, NextToken = NULL, PublicIps = NULL) {
op <- new_operation(
name = "DescribeMovingAddresses",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "MovingAddressStatuses")
)
input <- .ec2$describe_moving_addresses_input(Filters = Filters, DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, PublicIps = PublicIps)
output <- .ec2$describe_moving_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_moving_addresses <- ec2_describe_moving_addresses
#' Describes one or more of your NAT gateways
#'
#' @description
#' Describes one or more of your NAT gateways.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_nat_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_nat_gateways/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filter The filters.
#'
#' - `nat-gateway-id` - The ID of the NAT gateway.
#'
#' - `state` - The state of the NAT gateway (`pending` | `failed` |
#' `available` | `deleting` | `deleted`).
#'
#' - `subnet-id` - The ID of the subnet in which the NAT gateway resides.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC in which the NAT gateway resides.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NatGatewayIds The IDs of the NAT gateways.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_nat_gateways
ec2_describe_nat_gateways <- function(DryRun = NULL, Filter = NULL, MaxResults = NULL, NatGatewayIds = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeNatGateways",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NatGateways")
)
input <- .ec2$describe_nat_gateways_input(DryRun = DryRun, Filter = Filter, MaxResults = MaxResults, NatGatewayIds = NatGatewayIds, NextToken = NextToken)
output <- .ec2$describe_nat_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_nat_gateways <- ec2_describe_nat_gateways
#' Describes one or more of your network ACLs
#'
#' @description
#' Describes one or more of your network ACLs.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_acls/](https://www.paws-r-sdk.com/docs/ec2_describe_network_acls/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `association.association-id` - The ID of an association ID for the
#' ACL.
#'
#' - `association.network-acl-id` - The ID of the network ACL involved in
#' the association.
#'
#' - `association.subnet-id` - The ID of the subnet involved in the
#' association.
#'
#' - `default` - Indicates whether the ACL is the default network ACL for
#' the VPC.
#'
#' - `entry.cidr` - The IPv4 CIDR range specified in the entry.
#'
#' - `entry.icmp.code` - The ICMP code specified in the entry, if any.
#'
#' - `entry.icmp.type` - The ICMP type specified in the entry, if any.
#'
#' - `entry.ipv6-cidr` - The IPv6 CIDR range specified in the entry.
#'
#' - `entry.port-range.from` - The start of the port range specified in
#' the entry.
#'
#' - `entry.port-range.to` - The end of the port range specified in the
#' entry.
#'
#' - `entry.protocol` - The protocol specified in the entry (`tcp` |
#' `udp` | `icmp` or a protocol number).
#'
#' - `entry.rule-action` - Allows or denies the matching traffic (`allow`
#' | `deny`).
#'
#' - `entry.egress` - A Boolean that indicates the type of rule. Specify
#' `true` for egress rules, or `false` for ingress rules.
#'
#' - `entry.rule-number` - The number of an entry (in other words, rule)
#' in the set of ACL entries.
#'
#' - `network-acl-id` - The ID of the network ACL.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' network ACL.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC for the network ACL.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkAclIds The IDs of the network ACLs.
#'
#' Default: Describes all your network ACLs.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_acls
ec2_describe_network_acls <- function(Filters = NULL, DryRun = NULL, NetworkAclIds = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeNetworkAcls",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkAcls")
)
input <- .ec2$describe_network_acls_input(Filters = Filters, DryRun = DryRun, NetworkAclIds = NetworkAclIds, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_network_acls_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_acls <- ec2_describe_network_acls
#' Describes the specified Network Access Scope analyses
#'
#' @description
#' Describes the specified Network Access Scope analyses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_access_scope_analyses/](https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_access_scope_analyses/) for full documentation.
#'
#' @param NetworkInsightsAccessScopeAnalysisIds The IDs of the Network Access Scope analyses.
#' @param NetworkInsightsAccessScopeId The ID of the Network Access Scope.
#' @param AnalysisStartTimeBegin Filters the results based on the start time. The analysis must have
#' started on or after this time.
#' @param AnalysisStartTimeEnd Filters the results based on the start time. The analysis must have
#' started on or before this time.
#' @param Filters There are no supported filters.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_insights_access_scope_analyses
ec2_describe_network_insights_access_scope_analyses <- function(NetworkInsightsAccessScopeAnalysisIds = NULL, NetworkInsightsAccessScopeId = NULL, AnalysisStartTimeBegin = NULL, AnalysisStartTimeEnd = NULL, Filters = NULL, MaxResults = NULL, DryRun = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeNetworkInsightsAccessScopeAnalyses",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkInsightsAccessScopeAnalyses")
)
input <- .ec2$describe_network_insights_access_scope_analyses_input(NetworkInsightsAccessScopeAnalysisIds = NetworkInsightsAccessScopeAnalysisIds, NetworkInsightsAccessScopeId = NetworkInsightsAccessScopeId, AnalysisStartTimeBegin = AnalysisStartTimeBegin, AnalysisStartTimeEnd = AnalysisStartTimeEnd, Filters = Filters, MaxResults = MaxResults, DryRun = DryRun, NextToken = NextToken)
output <- .ec2$describe_network_insights_access_scope_analyses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_insights_access_scope_analyses <- ec2_describe_network_insights_access_scope_analyses
#' Describes the specified Network Access Scopes
#'
#' @description
#' Describes the specified Network Access Scopes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_access_scopes/](https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_access_scopes/) for full documentation.
#'
#' @param NetworkInsightsAccessScopeIds The IDs of the Network Access Scopes.
#' @param Filters There are no supported filters.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_insights_access_scopes
ec2_describe_network_insights_access_scopes <- function(NetworkInsightsAccessScopeIds = NULL, Filters = NULL, MaxResults = NULL, DryRun = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeNetworkInsightsAccessScopes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkInsightsAccessScopes")
)
input <- .ec2$describe_network_insights_access_scopes_input(NetworkInsightsAccessScopeIds = NetworkInsightsAccessScopeIds, Filters = Filters, MaxResults = MaxResults, DryRun = DryRun, NextToken = NextToken)
output <- .ec2$describe_network_insights_access_scopes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_insights_access_scopes <- ec2_describe_network_insights_access_scopes
#' Describes one or more of your network insights analyses
#'
#' @description
#' Describes one or more of your network insights analyses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_analyses/](https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_analyses/) for full documentation.
#'
#' @param NetworkInsightsAnalysisIds The ID of the network insights analyses. You must specify either
#' analysis IDs or a path ID.
#' @param NetworkInsightsPathId The ID of the path. You must specify either a path ID or analysis IDs.
#' @param AnalysisStartTime The time when the network insights analyses started.
#' @param AnalysisEndTime The time when the network insights analyses ended.
#' @param Filters The filters. The following are the possible values:
#'
#' - path-found - A Boolean value that indicates whether a feasible path
#' is found.
#'
#' - status - The status of the analysis (running | succeeded | failed).
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_insights_analyses
ec2_describe_network_insights_analyses <- function(NetworkInsightsAnalysisIds = NULL, NetworkInsightsPathId = NULL, AnalysisStartTime = NULL, AnalysisEndTime = NULL, Filters = NULL, MaxResults = NULL, DryRun = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeNetworkInsightsAnalyses",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkInsightsAnalyses")
)
input <- .ec2$describe_network_insights_analyses_input(NetworkInsightsAnalysisIds = NetworkInsightsAnalysisIds, NetworkInsightsPathId = NetworkInsightsPathId, AnalysisStartTime = AnalysisStartTime, AnalysisEndTime = AnalysisEndTime, Filters = Filters, MaxResults = MaxResults, DryRun = DryRun, NextToken = NextToken)
output <- .ec2$describe_network_insights_analyses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_insights_analyses <- ec2_describe_network_insights_analyses
#' Describes one or more of your paths
#'
#' @description
#' Describes one or more of your paths.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_paths/](https://www.paws-r-sdk.com/docs/ec2_describe_network_insights_paths/) for full documentation.
#'
#' @param NetworkInsightsPathIds The IDs of the paths.
#' @param Filters The filters. The following are the possible values:
#'
#' - destination - The ID of the resource.
#'
#' - filter-at-source.source-address - The source IPv4 address at the
#' source.
#'
#' - filter-at-source.source-port-range - The source port range at the
#' source.
#'
#' - filter-at-source.destination-address - The destination IPv4 address
#' at the source.
#'
#' - filter-at-source.destination-port-range - The destination port range
#' at the source.
#'
#' - filter-at-destination.source-address - The source IPv4 address at
#' the destination.
#'
#' - filter-at-destination.source-port-range - The source port range at
#' the destination.
#'
#' - filter-at-destination.destination-address - The destination IPv4
#' address at the destination.
#'
#' - filter-at-destination.destination-port-range - The destination port
#' range at the destination.
#'
#' - protocol - The protocol.
#'
#' - source - The ID of the resource.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_insights_paths
ec2_describe_network_insights_paths <- function(NetworkInsightsPathIds = NULL, Filters = NULL, MaxResults = NULL, DryRun = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeNetworkInsightsPaths",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkInsightsPaths")
)
input <- .ec2$describe_network_insights_paths_input(NetworkInsightsPathIds = NetworkInsightsPathIds, Filters = Filters, MaxResults = MaxResults, DryRun = DryRun, NextToken = NextToken)
output <- .ec2$describe_network_insights_paths_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_insights_paths <- ec2_describe_network_insights_paths
#' Describes a network interface attribute
#'
#' @description
#' Describes a network interface attribute. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_interface_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_network_interface_attribute/) for full documentation.
#'
#' @param Attribute The attribute of the network interface. This parameter is required.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_interface_attribute
ec2_describe_network_interface_attribute <- function(Attribute = NULL, DryRun = NULL, NetworkInterfaceId) {
op <- new_operation(
name = "DescribeNetworkInterfaceAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_network_interface_attribute_input(Attribute = Attribute, DryRun = DryRun, NetworkInterfaceId = NetworkInterfaceId)
output <- .ec2$describe_network_interface_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_interface_attribute <- ec2_describe_network_interface_attribute
#' Describes the permissions for your network interfaces
#'
#' @description
#' Describes the permissions for your network interfaces.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_interface_permissions/](https://www.paws-r-sdk.com/docs/ec2_describe_network_interface_permissions/) for full documentation.
#'
#' @param NetworkInterfacePermissionIds The network interface permission IDs.
#' @param Filters One or more filters.
#'
#' - `network-interface-permission.network-interface-permission-id` - The
#' ID of the permission.
#'
#' - `network-interface-permission.network-interface-id` - The ID of the
#' network interface.
#'
#' - `network-interface-permission.aws-account-id` - The Amazon Web
#' Services account ID.
#'
#' - `network-interface-permission.aws-service` - The Amazon Web Service.
#'
#' - `network-interface-permission.permission` - The type of permission
#' (`INSTANCE-ATTACH` | `EIP-ASSOCIATE`).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. If this parameter is not specified, up to 50 results are
#' returned by default. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_interface_permissions
ec2_describe_network_interface_permissions <- function(NetworkInterfacePermissionIds = NULL, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeNetworkInterfacePermissions",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkInterfacePermissions")
)
input <- .ec2$describe_network_interface_permissions_input(NetworkInterfacePermissionIds = NetworkInterfacePermissionIds, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_network_interface_permissions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_interface_permissions <- ec2_describe_network_interface_permissions
#' Describes one or more of your network interfaces
#'
#' @description
#' Describes one or more of your network interfaces.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_network_interfaces/](https://www.paws-r-sdk.com/docs/ec2_describe_network_interfaces/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `association.allocation-id` - The allocation ID returned when you
#' allocated the Elastic IP address (IPv4) for your network interface.
#'
#' - `association.association-id` - The association ID returned when the
#' network interface was associated with an IPv4 address.
#'
#' - `addresses.association.owner-id` - The owner ID of the addresses
#' associated with the network interface.
#'
#' - `addresses.association.public-ip` - The association ID returned when
#' the network interface was associated with the Elastic IP address
#' (IPv4).
#'
#' - `addresses.primary` - Whether the private IPv4 address is the
#' primary IP address associated with the network interface.
#'
#' - `addresses.private-ip-address` - The private IPv4 addresses
#' associated with the network interface.
#'
#' - `association.ip-owner-id` - The owner of the Elastic IP address
#' (IPv4) associated with the network interface.
#'
#' - `association.public-ip` - The address of the Elastic IP address
#' (IPv4) bound to the network interface.
#'
#' - `association.public-dns-name` - The public DNS name for the network
#' interface (IPv4).
#'
#' - `attachment.attach-time` - The time that the network interface was
#' attached to an instance.
#'
#' - `attachment.attachment-id` - The ID of the interface attachment.
#'
#' - `attachment.delete-on-termination` - Indicates whether the
#' attachment is deleted when an instance is terminated.
#'
#' - `attachment.device-index` - The device index to which the network
#' interface is attached.
#'
#' - `attachment.instance-id` - The ID of the instance to which the
#' network interface is attached.
#'
#' - `attachment.instance-owner-id` - The owner ID of the instance to
#' which the network interface is attached.
#'
#' - `attachment.status` - The status of the attachment (`attaching` |
#' `attached` | `detaching` | `detached`).
#'
#' - `availability-zone` - The Availability Zone of the network
#' interface.
#'
#' - `description` - The description of the network interface.
#'
#' - `group-id` - The ID of a security group associated with the network
#' interface.
#'
#' - `ipv6-addresses.ipv6-address` - An IPv6 address associated with the
#' network interface.
#'
#' - `interface-type` - The type of network interface
#' (`api_gateway_managed` | `aws_codestar_connections_managed` |
#' `branch` | `ec2_instance_connect_endpoint` | `efa` | `efs` |
#' `gateway_load_balancer` | `gateway_load_balancer_endpoint` |
#' `global_accelerator_managed` | `interface` | `iot_rules_managed` |
#' `lambda` | `load_balancer` | `nat_gateway` | `network_load_balancer`
#' | `quicksight` | `transit_gateway` | `trunk` | `vpc_endpoint`).
#'
#' - `mac-address` - The MAC address of the network interface.
#'
#' - `network-interface-id` - The ID of the network interface.
#'
#' - `owner-id` - The Amazon Web Services account ID of the network
#' interface owner.
#'
#' - `private-dns-name` - The private DNS name of the network interface
#' (IPv4).
#'
#' - `private-ip-address` - The private IPv4 address or addresses of the
#' network interface.
#'
#' - `requester-id` - The alias or Amazon Web Services account ID of the
#' principal or service that created the network interface.
#'
#' - `requester-managed` - Indicates whether the network interface is
#' being managed by an Amazon Web Service (for example, Amazon Web
#' Services Management Console, Auto Scaling, and so on).
#'
#' - `source-dest-check` - Indicates whether the network interface
#' performs source/destination checking. A value of `true` means
#' checking is enabled, and `false` means checking is disabled. The
#' value must be `false` for the network interface to perform network
#' address translation (NAT) in your VPC.
#'
#' - `status` - The status of the network interface. If the network
#' interface is not attached to an instance, the status is `available`;
#' if a network interface is attached to an instance the status is
#' `in-use`.
#'
#' - `subnet-id` - The ID of the subnet for the network interface.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC for the network interface.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInterfaceIds The network interface IDs.
#'
#' Default: Describes all your network interfaces.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. You cannot specify this parameter and the network interface IDs
#' parameter in the same request. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_network_interfaces
ec2_describe_network_interfaces <- function(Filters = NULL, DryRun = NULL, NetworkInterfaceIds = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeNetworkInterfaces",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "NetworkInterfaces")
)
input <- .ec2$describe_network_interfaces_input(Filters = Filters, DryRun = DryRun, NetworkInterfaceIds = NetworkInterfaceIds, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_network_interfaces_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_network_interfaces <- ec2_describe_network_interfaces
#' Describes the specified placement groups or all of your placement groups
#'
#' @description
#' Describes the specified placement groups or all of your placement groups. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_placement_groups/](https://www.paws-r-sdk.com/docs/ec2_describe_placement_groups/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `group-name` - The name of the placement group.
#'
#' - `group-arn` - The Amazon Resource Name (ARN) of the placement group.
#'
#' - `spread-level` - The spread level for the placement group (`host` |
#' `rack`).
#'
#' - `state` - The state of the placement group (`pending` | `available`
#' | `deleting` | `deleted`).
#'
#' - `strategy` - The strategy of the placement group (`cluster` |
#' `spread` | `partition`).
#'
#' - `tag:<key>` - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources that have a tag with a specific key,
#' regardless of the tag value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupNames The names of the placement groups.
#'
#' Default: Describes all your placement groups, or only those otherwise
#' specified.
#' @param GroupIds The IDs of the placement groups.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_placement_groups
ec2_describe_placement_groups <- function(Filters = NULL, DryRun = NULL, GroupNames = NULL, GroupIds = NULL) {
op <- new_operation(
name = "DescribePlacementGroups",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "PlacementGroups")
)
input <- .ec2$describe_placement_groups_input(Filters = Filters, DryRun = DryRun, GroupNames = GroupNames, GroupIds = GroupIds)
output <- .ec2$describe_placement_groups_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_placement_groups <- ec2_describe_placement_groups
#' Describes available Amazon Web Services services in a prefix list
#' format, which includes the prefix list name and prefix list ID of the
#' service and the IP address range for the service
#'
#' @description
#' Describes available Amazon Web Services services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_prefix_lists/](https://www.paws-r-sdk.com/docs/ec2_describe_prefix_lists/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters.
#'
#' - `prefix-list-id`: The ID of a prefix list.
#'
#' - `prefix-list-name`: The name of a prefix list.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param PrefixListIds One or more prefix list IDs.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_prefix_lists
ec2_describe_prefix_lists <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, PrefixListIds = NULL) {
op <- new_operation(
name = "DescribePrefixLists",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "PrefixLists")
)
input <- .ec2$describe_prefix_lists_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, PrefixListIds = PrefixListIds)
output <- .ec2$describe_prefix_lists_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_prefix_lists <- ec2_describe_prefix_lists
#' Describes the ID format settings for the root user and all IAM roles and
#' IAM users that have explicitly specified a longer ID (17-character ID)
#' preference
#'
#' @description
#' Describes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified a longer ID (17-character ID) preference.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_principal_id_format/](https://www.paws-r-sdk.com/docs/ec2_describe_principal_id_format/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Resources The type of resource: `bundle` | `conversion-task` | `customer-gateway`
#' | `dhcp-options` | `elastic-ip-allocation` | `elastic-ip-association` |
#' `export-task` | `flow-log` | `image` | `import-task` | `instance` |
#' `internet-gateway` | `network-acl` | `network-acl-association` |
#' `network-interface` | `network-interface-attachment` | `prefix-list` |
#' `reservation` | `route-table` | `route-table-association` |
#' `security-group` | `snapshot` | `subnet` |
#' `subnet-cidr-block-association` | `volume` | `vpc` |
#' `vpc-cidr-block-association` | `vpc-endpoint` | `vpc-peering-connection`
#' | `vpn-connection` | `vpn-gateway`
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another call with the returned NextToken
#' value.
#' @param NextToken The token to request the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_principal_id_format
ec2_describe_principal_id_format <- function(DryRun = NULL, Resources = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribePrincipalIdFormat",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Principals")
)
input <- .ec2$describe_principal_id_format_input(DryRun = DryRun, Resources = Resources, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_principal_id_format_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_principal_id_format <- ec2_describe_principal_id_format
#' Describes the specified IPv4 address pools
#'
#' @description
#' Describes the specified IPv4 address pools.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_public_ipv_4_pools/](https://www.paws-r-sdk.com/docs/ec2_describe_public_ipv_4_pools/) for full documentation.
#'
#' @param PoolIds The IDs of the address pools.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param Filters One or more filters.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_public_ipv_4_pools
ec2_describe_public_ipv_4_pools <- function(PoolIds = NULL, NextToken = NULL, MaxResults = NULL, Filters = NULL) {
op <- new_operation(
name = "DescribePublicIpv4Pools",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "PublicIpv4Pools")
)
input <- .ec2$describe_public_ipv_4_pools_input(PoolIds = PoolIds, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters)
output <- .ec2$describe_public_ipv_4_pools_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_public_ipv_4_pools <- ec2_describe_public_ipv_4_pools
#' Describes the Regions that are enabled for your account, or all Regions
#'
#' @description
#' Describes the Regions that are enabled for your account, or all Regions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_regions/](https://www.paws-r-sdk.com/docs/ec2_describe_regions/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `endpoint` - The endpoint of the Region (for example,
#' `ec2.us-east-1.amazonaws.com`).
#'
#' - `opt-in-status` - The opt-in status of the Region
#' (`opt-in-not-required` | `opted-in` | `not-opted-in`).
#'
#' - `region-name` - The name of the Region (for example, `us-east-1`).
#' @param RegionNames The names of the Regions. You can specify any Regions, whether they are
#' enabled and disabled for your account.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param AllRegions Indicates whether to display all Regions, including Regions that are
#' disabled for your account.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_regions
ec2_describe_regions <- function(Filters = NULL, RegionNames = NULL, DryRun = NULL, AllRegions = NULL) {
op <- new_operation(
name = "DescribeRegions",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "Regions")
)
input <- .ec2$describe_regions_input(Filters = Filters, RegionNames = RegionNames, DryRun = DryRun, AllRegions = AllRegions)
output <- .ec2$describe_regions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_regions <- ec2_describe_regions
#' Describes a root volume replacement task
#'
#' @description
#' Describes a root volume replacement task. For more information, see [Replace a root volume](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html) in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_replace_root_volume_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_replace_root_volume_tasks/) for full documentation.
#'
#' @param ReplaceRootVolumeTaskIds The ID of the root volume replacement task to view.
#' @param Filters Filter to use:
#'
#' - `instance-id` - The ID of the instance for which the root volume
#' replacement task was created.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_replace_root_volume_tasks
ec2_describe_replace_root_volume_tasks <- function(ReplaceRootVolumeTaskIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeReplaceRootVolumeTasks",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ReplaceRootVolumeTasks")
)
input <- .ec2$describe_replace_root_volume_tasks_input(ReplaceRootVolumeTaskIds = ReplaceRootVolumeTaskIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_replace_root_volume_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_replace_root_volume_tasks <- ec2_describe_replace_root_volume_tasks
#' Describes one or more of the Reserved Instances that you purchased
#'
#' @description
#' Describes one or more of the Reserved Instances that you purchased.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `availability-zone` - The Availability Zone where the Reserved
#' Instance can be used.
#'
#' - `duration` - The duration of the Reserved Instance (one year or
#' three years), in seconds (`31536000` | `94608000`).
#'
#' - `end` - The time when the Reserved Instance expires (for example,
#' 2015-08-07T11:54:42.000Z).
#'
#' - `fixed-price` - The purchase price of the Reserved Instance (for
#' example, 9800.0).
#'
#' - `instance-type` - The instance type that is covered by the
#' reservation.
#'
#' - `scope` - The scope of the Reserved Instance (`Region` or
#' `Availability Zone`).
#'
#' - `product-description` - The Reserved Instance product platform
#' description (`Linux/UNIX` | `Linux with SQL Server Standard` |
#' `Linux with SQL Server Web` | `Linux with SQL Server Enterprise` |
#' `SUSE Linux` | `Red Hat Enterprise Linux` |
#' `Red Hat Enterprise Linux with HA` | `Windows` |
#' `Windows with SQL Server Standard` | `Windows with SQL Server Web` |
#' `Windows with SQL Server Enterprise`).
#'
#' - `reserved-instances-id` - The ID of the Reserved Instance.
#'
#' - `start` - The time at which the Reserved Instance purchase request
#' was placed (for example, 2014-08-07T11:54:42.000Z).
#'
#' - `state` - The state of the Reserved Instance (`payment-pending` |
#' `active` | `payment-failed` | `retired`).
#'
#' - `tag:<key>` - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `usage-price` - The usage price of the Reserved Instance, per hour
#' (for example, 0.84).
#' @param OfferingClass Describes whether the Reserved Instance is Standard or Convertible.
#' @param ReservedInstancesIds One or more Reserved Instance IDs.
#'
#' Default: Describes all your Reserved Instances, or only those otherwise
#' specified.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param OfferingType The Reserved Instance offering type. If you are using tools that predate
#' the 2011-11-01 API version, you only have access to the
#' `Medium Utilization` Reserved Instance offering type.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_reserved_instances
ec2_describe_reserved_instances <- function(Filters = NULL, OfferingClass = NULL, ReservedInstancesIds = NULL, DryRun = NULL, OfferingType = NULL) {
op <- new_operation(
name = "DescribeReservedInstances",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "ReservedInstances")
)
input <- .ec2$describe_reserved_instances_input(Filters = Filters, OfferingClass = OfferingClass, ReservedInstancesIds = ReservedInstancesIds, DryRun = DryRun, OfferingType = OfferingType)
output <- .ec2$describe_reserved_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_reserved_instances <- ec2_describe_reserved_instances
#' Describes your account's Reserved Instance listings in the Reserved
#' Instance Marketplace
#'
#' @description
#' Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances_listings/](https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances_listings/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `reserved-instances-id` - The ID of the Reserved Instances.
#'
#' - `reserved-instances-listing-id` - The ID of the Reserved Instances
#' listing.
#'
#' - `status` - The status of the Reserved Instance listing (`pending` |
#' `active` | `cancelled` | `closed`).
#'
#' - `status-message` - The reason for the status.
#' @param ReservedInstancesId One or more Reserved Instance IDs.
#' @param ReservedInstancesListingId One or more Reserved Instance listing IDs.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_reserved_instances_listings
ec2_describe_reserved_instances_listings <- function(Filters = NULL, ReservedInstancesId = NULL, ReservedInstancesListingId = NULL) {
op <- new_operation(
name = "DescribeReservedInstancesListings",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "ReservedInstancesListings")
)
input <- .ec2$describe_reserved_instances_listings_input(Filters = Filters, ReservedInstancesId = ReservedInstancesId, ReservedInstancesListingId = ReservedInstancesListingId)
output <- .ec2$describe_reserved_instances_listings_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_reserved_instances_listings <- ec2_describe_reserved_instances_listings
#' Describes the modifications made to your Reserved Instances
#'
#' @description
#' Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances_modifications/](https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances_modifications/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `client-token` - The idempotency token for the modification request.
#'
#' - `create-date` - The time when the modification request was created.
#'
#' - `effective-date` - The time when the modification becomes effective.
#'
#' - `modification-result.reserved-instances-id` - The ID for the
#' Reserved Instances created as part of the modification request. This
#' ID is only available when the status of the modification is
#' `fulfilled`.
#'
#' - `modification-result.target-configuration.availability-zone` - The
#' Availability Zone for the new Reserved Instances.
#'
#' - `modification-result.target-configuration.instance-count ` - The
#' number of new Reserved Instances.
#'
#' - `modification-result.target-configuration.instance-type` - The
#' instance type of the new Reserved Instances.
#'
#' - `reserved-instances-id` - The ID of the Reserved Instances modified.
#'
#' - `reserved-instances-modification-id` - The ID of the modification
#' request.
#'
#' - `status` - The status of the Reserved Instances modification request
#' (`processing` | `fulfilled` | `failed`).
#'
#' - `status-message` - The reason for the status.
#'
#' - `update-date` - The time when the modification request was last
#' updated.
#' @param ReservedInstancesModificationIds IDs for the submitted modification request.
#' @param NextToken The token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_reserved_instances_modifications
ec2_describe_reserved_instances_modifications <- function(Filters = NULL, ReservedInstancesModificationIds = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeReservedInstancesModifications",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", output_token = "NextToken", result_key = "ReservedInstancesModifications")
)
input <- .ec2$describe_reserved_instances_modifications_input(Filters = Filters, ReservedInstancesModificationIds = ReservedInstancesModificationIds, NextToken = NextToken)
output <- .ec2$describe_reserved_instances_modifications_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_reserved_instances_modifications <- ec2_describe_reserved_instances_modifications
#' Describes Reserved Instance offerings that are available for purchase
#'
#' @description
#' Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances_offerings/](https://www.paws-r-sdk.com/docs/ec2_describe_reserved_instances_offerings/) for full documentation.
#'
#' @param AvailabilityZone The Availability Zone in which the Reserved Instance can be used.
#' @param Filters One or more filters.
#'
#' - `availability-zone` - The Availability Zone where the Reserved
#' Instance can be used.
#'
#' - `duration` - The duration of the Reserved Instance (for example, one
#' year or three years), in seconds (`31536000` | `94608000`).
#'
#' - `fixed-price` - The purchase price of the Reserved Instance (for
#' example, 9800.0).
#'
#' - `instance-type` - The instance type that is covered by the
#' reservation.
#'
#' - `marketplace` - Set to `true` to show only Reserved Instance
#' Marketplace offerings. When this filter is not used, which is the
#' default behavior, all offerings from both Amazon Web Services and
#' the Reserved Instance Marketplace are listed.
#'
#' - `product-description` - The Reserved Instance product platform
#' description (`Linux/UNIX` | `Linux with SQL Server Standard` |
#' `Linux with SQL Server Web` | `Linux with SQL Server Enterprise` |
#' `SUSE Linux` | `Red Hat Enterprise Linux` |
#' `Red Hat Enterprise Linux with HA` | `Windows` |
#' `Windows with SQL Server Standard` | `Windows with SQL Server Web` |
#' `Windows with SQL Server Enterprise`).
#'
#' - `reserved-instances-offering-id` - The Reserved Instances offering
#' ID.
#'
#' - `scope` - The scope of the Reserved Instance (`Availability Zone` or
#' `Region`).
#'
#' - `usage-price` - The usage price of the Reserved Instance, per hour
#' (for example, 0.84).
#' @param IncludeMarketplace Include Reserved Instance Marketplace offerings in the response.
#' @param InstanceType The instance type that the reservation will cover (for example,
#' `m1.small`). For more information, see [Instance
#' types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
#' in the *Amazon EC2 User Guide*.
#' @param MaxDuration The maximum duration (in seconds) to filter when searching for
#' offerings.
#'
#' Default: 94608000 (3 years)
#' @param MaxInstanceCount The maximum number of instances to filter when searching for offerings.
#'
#' Default: 20
#' @param MinDuration The minimum duration (in seconds) to filter when searching for
#' offerings.
#'
#' Default: 2592000 (1 month)
#' @param OfferingClass The offering class of the Reserved Instance. Can be `standard` or
#' `convertible`.
#' @param ProductDescription The Reserved Instance product platform description. Instances that
#' include `(Amazon VPC)` in the description are for use with Amazon VPC.
#' @param ReservedInstancesOfferingIds One or more Reserved Instances offering IDs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceTenancy The tenancy of the instances covered by the reservation. A Reserved
#' Instance with a tenancy of `dedicated` is applied to instances that run
#' in a VPC on single-tenant hardware (i.e., Dedicated Instances).
#'
#' **Important:** The `host` value cannot be used with this parameter. Use
#' the `default` or `dedicated` values only.
#'
#' Default: `default`
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results of the initial request can be seen by
#' sending another request with the returned `NextToken` value. The maximum
#' is 100.
#'
#' Default: 100
#' @param NextToken The token to retrieve the next page of results.
#' @param OfferingType The Reserved Instance offering type. If you are using tools that predate
#' the 2011-11-01 API version, you only have access to the
#' `Medium Utilization` Reserved Instance offering type.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_reserved_instances_offerings
ec2_describe_reserved_instances_offerings <- function(AvailabilityZone = NULL, Filters = NULL, IncludeMarketplace = NULL, InstanceType = NULL, MaxDuration = NULL, MaxInstanceCount = NULL, MinDuration = NULL, OfferingClass = NULL, ProductDescription = NULL, ReservedInstancesOfferingIds = NULL, DryRun = NULL, InstanceTenancy = NULL, MaxResults = NULL, NextToken = NULL, OfferingType = NULL) {
op <- new_operation(
name = "DescribeReservedInstancesOfferings",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ReservedInstancesOfferings")
)
input <- .ec2$describe_reserved_instances_offerings_input(AvailabilityZone = AvailabilityZone, Filters = Filters, IncludeMarketplace = IncludeMarketplace, InstanceType = InstanceType, MaxDuration = MaxDuration, MaxInstanceCount = MaxInstanceCount, MinDuration = MinDuration, OfferingClass = OfferingClass, ProductDescription = ProductDescription, ReservedInstancesOfferingIds = ReservedInstancesOfferingIds, DryRun = DryRun, InstanceTenancy = InstanceTenancy, MaxResults = MaxResults, NextToken = NextToken, OfferingType = OfferingType)
output <- .ec2$describe_reserved_instances_offerings_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_reserved_instances_offerings <- ec2_describe_reserved_instances_offerings
#' Describes one or more of your route tables
#'
#' @description
#' Describes one or more of your route tables.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_route_tables/](https://www.paws-r-sdk.com/docs/ec2_describe_route_tables/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `association.gateway-id` - The ID of the gateway involved in the
#' association.
#'
#' - `association.route-table-association-id` - The ID of an association
#' ID for the route table.
#'
#' - `association.route-table-id` - The ID of the route table involved in
#' the association.
#'
#' - `association.subnet-id` - The ID of the subnet involved in the
#' association.
#'
#' - `association.main` - Indicates whether the route table is the main
#' route table for the VPC (`true` | `false`). Route tables that do not
#' have an association ID are not returned in the response.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' route table.
#'
#' - `route-table-id` - The ID of the route table.
#'
#' - `route.destination-cidr-block` - The IPv4 CIDR range specified in a
#' route in the table.
#'
#' - `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
#' in a route in the route table.
#'
#' - `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
#' Web Service specified in a route in the table.
#'
#' - `route.egress-only-internet-gateway-id` - The ID of an egress-only
#' Internet gateway specified in a route in the route table.
#'
#' - `route.gateway-id` - The ID of a gateway specified in a route in the
#' table.
#'
#' - `route.instance-id` - The ID of an instance specified in a route in
#' the table.
#'
#' - `route.nat-gateway-id` - The ID of a NAT gateway.
#'
#' - `route.transit-gateway-id` - The ID of a transit gateway.
#'
#' - `route.origin` - Describes how the route was created.
#' [`create_route_table`][ec2_create_route_table] indicates that the
#' route was automatically created when the route table was created;
#' [`create_route`][ec2_create_route] indicates that the route was
#' manually added to the route table;
#' [`enable_vgw_route_propagation`][ec2_enable_vgw_route_propagation]
#' indicates that the route was propagated by route propagation.
#'
#' - `route.state` - The state of a route in the route table (`active` |
#' `blackhole`). The blackhole state indicates that the route's target
#' isn't available (for example, the specified gateway isn't attached
#' to the VPC, the specified NAT instance has been terminated, and so
#' on).
#'
#' - `route.vpc-peering-connection-id` - The ID of a VPC peering
#' connection specified in a route in the table.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC for the route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RouteTableIds The IDs of the route tables.
#'
#' Default: Describes all your route tables.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_route_tables
ec2_describe_route_tables <- function(Filters = NULL, DryRun = NULL, RouteTableIds = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeRouteTables",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "RouteTables")
)
input <- .ec2$describe_route_tables_input(Filters = Filters, DryRun = DryRun, RouteTableIds = RouteTableIds, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_route_tables_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_route_tables <- ec2_describe_route_tables
#' Finds available schedules that meet the specified criteria
#'
#' @description
#' Finds available schedules that meet the specified criteria.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_scheduled_instance_availability/](https://www.paws-r-sdk.com/docs/ec2_describe_scheduled_instance_availability/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone (for example,
#' `us-west-2a`).
#'
#' - `instance-type` - The instance type (for example, `c4.large`).
#'
#' - `platform` - The platform (`Linux/UNIX` or `Windows`).
#' @param FirstSlotStartTimeRange [required] The time period for the first schedule to start.
#' @param MaxResults The maximum number of results to return in a single call. This value can
#' be between 5 and 300. The default value is 300. To retrieve the
#' remaining results, make another call with the returned `NextToken`
#' value.
#' @param MaxSlotDurationInHours The maximum available duration, in hours. This value must be greater
#' than `MinSlotDurationInHours` and less than 1,720.
#' @param MinSlotDurationInHours The minimum available duration, in hours. The minimum required duration
#' is 1,200 hours per year. For example, the minimum daily schedule is 4
#' hours, the minimum weekly schedule is 24 hours, and the minimum monthly
#' schedule is 100 hours.
#' @param NextToken The token for the next set of results.
#' @param Recurrence [required] The schedule recurrence.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_scheduled_instance_availability
ec2_describe_scheduled_instance_availability <- function(DryRun = NULL, Filters = NULL, FirstSlotStartTimeRange, MaxResults = NULL, MaxSlotDurationInHours = NULL, MinSlotDurationInHours = NULL, NextToken = NULL, Recurrence) {
op <- new_operation(
name = "DescribeScheduledInstanceAvailability",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ScheduledInstanceAvailabilitySet")
)
input <- .ec2$describe_scheduled_instance_availability_input(DryRun = DryRun, Filters = Filters, FirstSlotStartTimeRange = FirstSlotStartTimeRange, MaxResults = MaxResults, MaxSlotDurationInHours = MaxSlotDurationInHours, MinSlotDurationInHours = MinSlotDurationInHours, NextToken = NextToken, Recurrence = Recurrence)
output <- .ec2$describe_scheduled_instance_availability_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_scheduled_instance_availability <- ec2_describe_scheduled_instance_availability
#' Describes the specified Scheduled Instances or all your Scheduled
#' Instances
#'
#' @description
#' Describes the specified Scheduled Instances or all your Scheduled Instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_scheduled_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_scheduled_instances/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone (for example,
#' `us-west-2a`).
#'
#' - `instance-type` - The instance type (for example, `c4.large`).
#'
#' - `platform` - The platform (`Linux/UNIX` or `Windows`).
#' @param MaxResults The maximum number of results to return in a single call. This value can
#' be between 5 and 300. The default value is 100. To retrieve the
#' remaining results, make another call with the returned `NextToken`
#' value.
#' @param NextToken The token for the next set of results.
#' @param ScheduledInstanceIds The Scheduled Instance IDs.
#' @param SlotStartTimeRange The time period for the first schedule to start.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_scheduled_instances
ec2_describe_scheduled_instances <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, ScheduledInstanceIds = NULL, SlotStartTimeRange = NULL) {
op <- new_operation(
name = "DescribeScheduledInstances",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ScheduledInstanceSet")
)
input <- .ec2$describe_scheduled_instances_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, ScheduledInstanceIds = ScheduledInstanceIds, SlotStartTimeRange = SlotStartTimeRange)
output <- .ec2$describe_scheduled_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_scheduled_instances <- ec2_describe_scheduled_instances
#' Describes the VPCs on the other side of a VPC peering connection that
#' are referencing the security groups you've specified in this request
#'
#' @description
#' Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_security_group_references/](https://www.paws-r-sdk.com/docs/ec2_describe_security_group_references/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupId [required] The IDs of the security groups in your account.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_security_group_references
ec2_describe_security_group_references <- function(DryRun = NULL, GroupId) {
op <- new_operation(
name = "DescribeSecurityGroupReferences",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_security_group_references_input(DryRun = DryRun, GroupId = GroupId)
output <- .ec2$describe_security_group_references_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_security_group_references <- ec2_describe_security_group_references
#' Describes one or more of your security group rules
#'
#' @description
#' Describes one or more of your security group rules.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_security_group_rules/](https://www.paws-r-sdk.com/docs/ec2_describe_security_group_rules/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `group-id` - The ID of the security group.
#'
#' - `security-group-rule-id` - The ID of the security group rule.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#' @param SecurityGroupRuleIds The IDs of the security group rules.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. This value can be between 5 and 1000. If this parameter is not
#' specified, then all items are returned. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_security_group_rules
ec2_describe_security_group_rules <- function(Filters = NULL, SecurityGroupRuleIds = NULL, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeSecurityGroupRules",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SecurityGroupRules")
)
input <- .ec2$describe_security_group_rules_input(Filters = Filters, SecurityGroupRuleIds = SecurityGroupRuleIds, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_security_group_rules_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_security_group_rules <- ec2_describe_security_group_rules
#' Describes the specified security groups or all of your security groups
#'
#' @description
#' Describes the specified security groups or all of your security groups.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_security_groups/](https://www.paws-r-sdk.com/docs/ec2_describe_security_groups/) for full documentation.
#'
#' @param Filters The filters. If using multiple filters for rules, the results include
#' security groups for which any combination of rules - not necessarily a
#' single rule - match all filters.
#'
#' - `description` - The description of the security group.
#'
#' - `egress.ip-permission.cidr` - An IPv4 CIDR block for an outbound
#' security group rule.
#'
#' - `egress.ip-permission.from-port` - For an outbound rule, the start
#' of port range for the TCP and UDP protocols, or an ICMP type number.
#'
#' - `egress.ip-permission.group-id` - The ID of a security group that
#' has been referenced in an outbound security group rule.
#'
#' - `egress.ip-permission.group-name` - The name of a security group
#' that is referenced in an outbound security group rule.
#'
#' - `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
#' outbound security group rule.
#'
#' - `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
#' which a security group rule allows outbound access.
#'
#' - `egress.ip-permission.protocol` - The IP protocol for an outbound
#' security group rule (`tcp` | `udp` | `icmp`, a protocol number, or
#' -1 for all protocols).
#'
#' - `egress.ip-permission.to-port` - For an outbound rule, the end of
#' port range for the TCP and UDP protocols, or an ICMP code.
#'
#' - `egress.ip-permission.user-id` - The ID of an Amazon Web Services
#' account that has been referenced in an outbound security group rule.
#'
#' - `group-id` - The ID of the security group.
#'
#' - `group-name` - The name of the security group.
#'
#' - `ip-permission.cidr` - An IPv4 CIDR block for an inbound security
#' group rule.
#'
#' - `ip-permission.from-port` - For an inbound rule, the start of port
#' range for the TCP and UDP protocols, or an ICMP type number.
#'
#' - `ip-permission.group-id` - The ID of a security group that has been
#' referenced in an inbound security group rule.
#'
#' - `ip-permission.group-name` - The name of a security group that is
#' referenced in an inbound security group rule.
#'
#' - `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
#' security group rule.
#'
#' - `ip-permission.prefix-list-id` - The ID of a prefix list from which
#' a security group rule allows inbound access.
#'
#' - `ip-permission.protocol` - The IP protocol for an inbound security
#' group rule (`tcp` | `udp` | `icmp`, a protocol number, or -1 for all
#' protocols).
#'
#' - `ip-permission.to-port` - For an inbound rule, the end of port range
#' for the TCP and UDP protocols, or an ICMP code.
#'
#' - `ip-permission.user-id` - The ID of an Amazon Web Services account
#' that has been referenced in an inbound security group rule.
#'
#' - `owner-id` - The Amazon Web Services account ID of the owner of the
#' security group.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC specified when the security group was
#' created.
#' @param GroupIds The IDs of the security groups. Required for security groups in a
#' nondefault VPC.
#'
#' Default: Describes all of your security groups.
#' @param GroupNames \[Default VPC\] The names of the security groups. You can specify either
#' the security group name or the security group ID.
#'
#' Default: Describes all of your security groups.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. This value can be between 5 and 1000. If this parameter is not
#' specified, then all items are returned. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_security_groups
ec2_describe_security_groups <- function(Filters = NULL, GroupIds = NULL, GroupNames = NULL, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeSecurityGroups",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SecurityGroups")
)
input <- .ec2$describe_security_groups_input(Filters = Filters, GroupIds = GroupIds, GroupNames = GroupNames, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_security_groups_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_security_groups <- ec2_describe_security_groups
#' Describes the specified attribute of the specified snapshot
#'
#' @description
#' Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_snapshot_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_snapshot_attribute/) for full documentation.
#'
#' @param Attribute [required] The snapshot attribute you would like to view.
#' @param SnapshotId [required] The ID of the EBS snapshot.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_snapshot_attribute
ec2_describe_snapshot_attribute <- function(Attribute, SnapshotId, DryRun = NULL) {
op <- new_operation(
name = "DescribeSnapshotAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_snapshot_attribute_input(Attribute = Attribute, SnapshotId = SnapshotId, DryRun = DryRun)
output <- .ec2$describe_snapshot_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_snapshot_attribute <- ec2_describe_snapshot_attribute
#' Describes the storage tier status of one or more Amazon EBS snapshots
#'
#' @description
#' Describes the storage tier status of one or more Amazon EBS snapshots.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_snapshot_tier_status/](https://www.paws-r-sdk.com/docs/ec2_describe_snapshot_tier_status/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `snapshot-id` - The snapshot ID.
#'
#' - `volume-id` - The ID of the volume the snapshot is for.
#'
#' - `last-tiering-operation` - The state of the last archive or restore
#' action. (`archival-in-progress` | `archival-completed` |
#' `archival-failed` | `permanent-restore-in-progress` |
#' `permanent-restore-completed` | `permanent-restore-failed` |
#' `temporary-restore-in-progress` | `temporary-restore-completed` |
#' `temporary-restore-failed`)
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_snapshot_tier_status
ec2_describe_snapshot_tier_status <- function(Filters = NULL, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeSnapshotTierStatus",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SnapshotTierStatuses")
)
input <- .ec2$describe_snapshot_tier_status_input(Filters = Filters, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_snapshot_tier_status_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_snapshot_tier_status <- ec2_describe_snapshot_tier_status
#' Describes the specified EBS snapshots available to you or all of the EBS
#' snapshots available to you
#'
#' @description
#' Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_snapshots/](https://www.paws-r-sdk.com/docs/ec2_describe_snapshots/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `description` - A description of the snapshot.
#'
#' - `encrypted` - Indicates whether the snapshot is encrypted (`true` |
#' `false`)
#'
#' - `owner-alias` - The owner alias, from an Amazon-maintained list
#' (`amazon`). This is not the user-configured Amazon Web Services
#' account alias set using the IAM console. We recommend that you use
#' the related parameter instead of this filter.
#'
#' - `owner-id` - The Amazon Web Services account ID of the owner. We
#' recommend that you use the related parameter instead of this filter.
#'
#' - `progress` - The progress of the snapshot, as a percentage (for
#' example, 80%).
#'
#' - `snapshot-id` - The snapshot ID.
#'
#' - `start-time` - The time stamp when the snapshot was initiated.
#'
#' - `status` - The status of the snapshot (`pending` | `completed` |
#' `error`).
#'
#' - `storage-tier` - The storage tier of the snapshot (`archive` |
#' `standard`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `volume-id` - The ID of the volume the snapshot is for.
#'
#' - `volume-size` - The size of the volume, in GiB.
#' @param MaxResults The maximum number of snapshots to return for this request. This value
#' can be between 5 and 1,000; if this value is larger than 1,000, only
#' 1,000 results are returned. If this parameter is not used, then the
#' request returns all snapshots. You cannot specify this parameter and the
#' snapshot IDs parameter in the same request. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param OwnerIds Scopes the results to snapshots with the specified owners. You can
#' specify a combination of Amazon Web Services account IDs, `self`, and
#' `amazon`.
#' @param RestorableByUserIds The IDs of the Amazon Web Services accounts that can create volumes from
#' the snapshot.
#' @param SnapshotIds The snapshot IDs.
#'
#' Default: Describes the snapshots for which you have create volume
#' permissions.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_snapshots
ec2_describe_snapshots <- function(Filters = NULL, MaxResults = NULL, NextToken = NULL, OwnerIds = NULL, RestorableByUserIds = NULL, SnapshotIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeSnapshots",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Snapshots")
)
input <- .ec2$describe_snapshots_input(Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, OwnerIds = OwnerIds, RestorableByUserIds = RestorableByUserIds, SnapshotIds = SnapshotIds, DryRun = DryRun)
output <- .ec2$describe_snapshots_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_snapshots <- ec2_describe_snapshots
#' Describes the data feed for Spot Instances
#'
#' @description
#' Describes the data feed for Spot Instances. For more information, see [Spot Instance data feed](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html) in the *Amazon EC2 User Guide for Linux Instances*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_spot_datafeed_subscription/](https://www.paws-r-sdk.com/docs/ec2_describe_spot_datafeed_subscription/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_spot_datafeed_subscription
ec2_describe_spot_datafeed_subscription <- function(DryRun = NULL) {
op <- new_operation(
name = "DescribeSpotDatafeedSubscription",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_spot_datafeed_subscription_input(DryRun = DryRun)
output <- .ec2$describe_spot_datafeed_subscription_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_spot_datafeed_subscription <- ec2_describe_spot_datafeed_subscription
#' Describes the running instances for the specified Spot Fleet
#'
#' @description
#' Describes the running instances for the specified Spot Fleet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_spot_fleet_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_spot_fleet_instances/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token to include in another request to get the next page of items.
#' This value is `null` when there are no more items to return.
#' @param SpotFleetRequestId [required] The ID of the Spot Fleet request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_spot_fleet_instances
ec2_describe_spot_fleet_instances <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL, SpotFleetRequestId) {
op <- new_operation(
name = "DescribeSpotFleetInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_spot_fleet_instances_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, SpotFleetRequestId = SpotFleetRequestId)
output <- .ec2$describe_spot_fleet_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_spot_fleet_instances <- ec2_describe_spot_fleet_instances
#' Describes the events for the specified Spot Fleet request during the
#' specified time
#'
#' @description
#' Describes the events for the specified Spot Fleet request during the specified time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_spot_fleet_request_history/](https://www.paws-r-sdk.com/docs/ec2_describe_spot_fleet_request_history/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EventType The type of events to describe. By default, all events are described.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token to include in another request to get the next page of items.
#' This value is `null` when there are no more items to return.
#' @param SpotFleetRequestId [required] The ID of the Spot Fleet request.
#' @param StartTime [required] The starting date and time for the events, in UTC format (for example,
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_spot_fleet_request_history
ec2_describe_spot_fleet_request_history <- function(DryRun = NULL, EventType = NULL, MaxResults = NULL, NextToken = NULL, SpotFleetRequestId, StartTime) {
op <- new_operation(
name = "DescribeSpotFleetRequestHistory",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_spot_fleet_request_history_input(DryRun = DryRun, EventType = EventType, MaxResults = MaxResults, NextToken = NextToken, SpotFleetRequestId = SpotFleetRequestId, StartTime = StartTime)
output <- .ec2$describe_spot_fleet_request_history_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_spot_fleet_request_history <- ec2_describe_spot_fleet_request_history
#' Describes your Spot Fleet requests
#'
#' @description
#' Describes your Spot Fleet requests.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_spot_fleet_requests/](https://www.paws-r-sdk.com/docs/ec2_describe_spot_fleet_requests/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token to include in another request to get the next page of items.
#' This value is `null` when there are no more items to return.
#' @param SpotFleetRequestIds The IDs of the Spot Fleet requests.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_spot_fleet_requests
ec2_describe_spot_fleet_requests <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL, SpotFleetRequestIds = NULL) {
op <- new_operation(
name = "DescribeSpotFleetRequests",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SpotFleetRequestConfigs")
)
input <- .ec2$describe_spot_fleet_requests_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, SpotFleetRequestIds = SpotFleetRequestIds)
output <- .ec2$describe_spot_fleet_requests_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_spot_fleet_requests <- ec2_describe_spot_fleet_requests
#' Describes the specified Spot Instance requests
#'
#' @description
#' Describes the specified Spot Instance requests.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_spot_instance_requests/](https://www.paws-r-sdk.com/docs/ec2_describe_spot_instance_requests/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `availability-zone-group` - The Availability Zone group.
#'
#' - `create-time` - The time stamp when the Spot Instance request was
#' created.
#'
#' - `fault-code` - The fault code related to the request.
#'
#' - `fault-message` - The fault message related to the request.
#'
#' - `instance-id` - The ID of the instance that fulfilled the request.
#'
#' - `launch-group` - The Spot Instance launch group.
#'
#' - `launch.block-device-mapping.delete-on-termination` - Indicates
#' whether the EBS volume is deleted on instance termination.
#'
#' - `launch.block-device-mapping.device-name` - The device name for the
#' volume in the block device mapping (for example, `/dev/sdh` or
#' `xvdh`).
#'
#' - `launch.block-device-mapping.snapshot-id` - The ID of the snapshot
#' for the EBS volume.
#'
#' - `launch.block-device-mapping.volume-size` - The size of the EBS
#' volume, in GiB.
#'
#' - `launch.block-device-mapping.volume-type` - The type of EBS volume:
#' `gp2` or `gp3` for General Purpose SSD, `io1` or `io2` for
#' Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
#' Cold HDD, or `standard` for Magnetic.
#'
#' - `launch.group-id` - The ID of the security group for the instance.
#'
#' - `launch.group-name` - The name of the security group for the
#' instance.
#'
#' - `launch.image-id` - The ID of the AMI.
#'
#' - `launch.instance-type` - The type of instance (for example,
#' `m3.medium`).
#'
#' - `launch.kernel-id` - The kernel ID.
#'
#' - `launch.key-name` - The name of the key pair the instance launched
#' with.
#'
#' - `launch.monitoring-enabled` - Whether detailed monitoring is enabled
#' for the Spot Instance.
#'
#' - `launch.ramdisk-id` - The RAM disk ID.
#'
#' - `launched-availability-zone` - The Availability Zone in which the
#' request is launched.
#'
#' - `network-interface.addresses.primary` - Indicates whether the IP
#' address is the primary private IP address.
#'
#' - `network-interface.delete-on-termination` - Indicates whether the
#' network interface is deleted when the instance is terminated.
#'
#' - `network-interface.description` - A description of the network
#' interface.
#'
#' - `network-interface.device-index` - The index of the device for the
#' network interface attachment on the instance.
#'
#' - `network-interface.group-id` - The ID of the security group
#' associated with the network interface.
#'
#' - `network-interface.network-interface-id` - The ID of the network
#' interface.
#'
#' - `network-interface.private-ip-address` - The primary private IP
#' address of the network interface.
#'
#' - `network-interface.subnet-id` - The ID of the subnet for the
#' instance.
#'
#' - `product-description` - The product description associated with the
#' instance (`Linux/UNIX` | `Windows`).
#'
#' - `spot-instance-request-id` - The Spot Instance request ID.
#'
#' - `spot-price` - The maximum hourly price for any Spot Instance
#' launched to fulfill the request.
#'
#' - `state` - The state of the Spot Instance request (`open` | `active`
#' | `closed` | `cancelled` | `failed`). Spot request status
#' information can help you track your Amazon EC2 Spot Instance
#' requests. For more information, see [Spot request
#' status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html)
#' in the *Amazon EC2 User Guide for Linux Instances*.
#'
#' - `status-code` - The short code describing the most recent evaluation
#' of your Spot Instance request.
#'
#' - `status-message` - The message explaining the status of the Spot
#' Instance request.
#'
#' - `tag:<key>` - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `type` - The type of Spot Instance request (`one-time` |
#' `persistent`).
#'
#' - `valid-from` - The start date of the request.
#'
#' - `valid-until` - The end date of the request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SpotInstanceRequestIds The IDs of the Spot Instance requests.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_spot_instance_requests
ec2_describe_spot_instance_requests <- function(Filters = NULL, DryRun = NULL, SpotInstanceRequestIds = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeSpotInstanceRequests",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SpotInstanceRequests")
)
input <- .ec2$describe_spot_instance_requests_input(Filters = Filters, DryRun = DryRun, SpotInstanceRequestIds = SpotInstanceRequestIds, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_spot_instance_requests_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_spot_instance_requests <- ec2_describe_spot_instance_requests
#' Describes the Spot price history
#'
#' @description
#' Describes the Spot price history. For more information, see [Spot Instance pricing history](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances-history.html) in the *Amazon EC2 User Guide for Linux Instances*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_spot_price_history/](https://www.paws-r-sdk.com/docs/ec2_describe_spot_price_history/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone for which prices should
#' be returned.
#'
#' - `instance-type` - The type of instance (for example, `m3.medium`).
#'
#' - `product-description` - The product description for the Spot price
#' (`Linux/UNIX` | `Red Hat Enterprise Linux` | `SUSE Linux` |
#' `Windows` | `Linux/UNIX (Amazon VPC)` |
#' `Red Hat Enterprise Linux (Amazon VPC)` | `SUSE Linux (Amazon VPC)`
#' | `Windows (Amazon VPC)`).
#'
#' - `spot-price` - The Spot price. The value must match exactly (or use
#' wildcards; greater than or less than comparison is not supported).
#'
#' - `timestamp` - The time stamp of the Spot price history, in UTC
#' format (for example, *ddd MMM dd HH*:*mm*:*ss* UTC *YYYY*). You can
#' use wildcards (`*` and `?`). Greater than or less than comparison is
#' not supported.
#' @param AvailabilityZone Filters the results by the specified Availability Zone.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EndTime The date and time, up to the current date, from which to stop retrieving
#' the price history data, in UTC format (for example,
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z).
#' @param InstanceTypes Filters the results by the specified instance types.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param ProductDescriptions Filters the results by the specified basic product descriptions.
#' @param StartTime The date and time, up to the past 90 days, from which to start
#' retrieving the price history data, in UTC format (for example,
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_spot_price_history
ec2_describe_spot_price_history <- function(Filters = NULL, AvailabilityZone = NULL, DryRun = NULL, EndTime = NULL, InstanceTypes = NULL, MaxResults = NULL, NextToken = NULL, ProductDescriptions = NULL, StartTime = NULL) {
op <- new_operation(
name = "DescribeSpotPriceHistory",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SpotPriceHistory")
)
input <- .ec2$describe_spot_price_history_input(Filters = Filters, AvailabilityZone = AvailabilityZone, DryRun = DryRun, EndTime = EndTime, InstanceTypes = InstanceTypes, MaxResults = MaxResults, NextToken = NextToken, ProductDescriptions = ProductDescriptions, StartTime = StartTime)
output <- .ec2$describe_spot_price_history_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_spot_price_history <- ec2_describe_spot_price_history
#' Describes the stale security group rules for security groups in a
#' specified VPC
#'
#' @description
#' Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in the same VPC or peered VPC. Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has been deleted.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_stale_security_groups/](https://www.paws-r-sdk.com/docs/ec2_describe_stale_security_groups/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param VpcId [required] The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_stale_security_groups
ec2_describe_stale_security_groups <- function(DryRun = NULL, MaxResults = NULL, NextToken = NULL, VpcId) {
op <- new_operation(
name = "DescribeStaleSecurityGroups",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "StaleSecurityGroupSet")
)
input <- .ec2$describe_stale_security_groups_input(DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken, VpcId = VpcId)
output <- .ec2$describe_stale_security_groups_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_stale_security_groups <- ec2_describe_stale_security_groups
#' Describes the progress of the AMI store tasks
#'
#' @description
#' Describes the progress of the AMI store tasks. You can describe the store tasks for specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks from the last 31 days.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_store_image_tasks/](https://www.paws-r-sdk.com/docs/ec2_describe_store_image_tasks/) for full documentation.
#'
#' @param ImageIds The AMI IDs for which to show progress. Up to 20 AMI IDs can be included
#' in a request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `task-state` - Returns tasks in a certain state (`InProgress` |
#' `Completed` | `Failed`)
#'
#' - `bucket` - Returns task information for tasks that targeted a
#' specific bucket. For the filter value, specify the bucket name.
#'
#' When you specify the `ImageIds` parameter, any filters that you specify
#' are ignored. To use the filters, you must remove the `ImageIds`
#' parameter.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' You cannot specify this parameter and the `ImageIds` parameter in the
#' same call.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_store_image_tasks
ec2_describe_store_image_tasks <- function(ImageIds = NULL, DryRun = NULL, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeStoreImageTasks",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "StoreImageTaskResults")
)
input <- .ec2$describe_store_image_tasks_input(ImageIds = ImageIds, DryRun = DryRun, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_store_image_tasks_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_store_image_tasks <- ec2_describe_store_image_tasks
#' Describes one or more of your subnets
#'
#' @description
#' Describes one or more of your subnets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_subnets/](https://www.paws-r-sdk.com/docs/ec2_describe_subnets/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `availability-zone` - The Availability Zone for the subnet. You can
#' also use `availabilityZone` as the filter name.
#'
#' - `availability-zone-id` - The ID of the Availability Zone for the
#' subnet. You can also use `availabilityZoneId` as the filter name.
#'
#' - `available-ip-address-count` - The number of IPv4 addresses in the
#' subnet that are available.
#'
#' - `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block you
#' specify must exactly match the subnet's CIDR block for information
#' to be returned for the subnet. You can also use `cidr` or
#' `cidrBlock` as the filter names.
#'
#' - `customer-owned-ipv4-pool` - The customer-owned IPv4 address pool
#' associated with the subnet.
#'
#' - `default-for-az` - Indicates whether this is the default subnet for
#' the Availability Zone (`true` | `false`). You can also use
#' `defaultForAz` as the filter name.
#'
#' - `enable-dns64` - Indicates whether DNS queries made to the
#' Amazon-provided DNS Resolver in this subnet should return synthetic
#' IPv6 addresses for IPv4-only destinations.
#'
#' - `enable-lni-at-device-index` - Indicates the device position for
#' local network interfaces in this subnet. For example, `1` indicates
#' local network interfaces in this subnet are the secondary network
#' interface (eth1).
#'
#' - `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
#' associated with the subnet.
#'
#' - `ipv6-cidr-block-association.association-id` - An association ID for
#' an IPv6 CIDR block associated with the subnet.
#'
#' - `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
#' block associated with the subnet.
#'
#' - `ipv6-native` - Indicates whether this is an IPv6 only subnet
#' (`true` | `false`).
#'
#' - `map-customer-owned-ip-on-launch` - Indicates whether a network
#' interface created in this subnet (including a network interface
#' created by [`run_instances`][ec2_run_instances]) receives a
#' customer-owned IPv4 address.
#'
#' - `map-public-ip-on-launch` - Indicates whether instances launched in
#' this subnet receive a public IPv4 address.
#'
#' - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' subnet.
#'
#' - `private-dns-name-options-on-launch.hostname-type` - The type of
#' hostname to assign to instances in the subnet at launch. For
#' IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS
#' name can be based on the instance IPv4 address (ip-name) or the
#' instance ID (resource-name). For IPv6 only subnets, an instance DNS
#' name must be based on the instance ID (resource-name).
#'
#' - `private-dns-name-options-on-launch.enable-resource-name-dns-a-record` -
#' Indicates whether to respond to DNS queries for instance hostnames
#' with DNS A records.
#'
#' - `private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record` -
#' Indicates whether to respond to DNS queries for instance hostnames
#' with DNS AAAA records.
#'
#' - `state` - The state of the subnet (`pending` | `available`).
#'
#' - `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
#'
#' - `subnet-id` - The ID of the subnet.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC for the subnet.
#' @param SubnetIds The IDs of the subnets.
#'
#' Default: Describes all your subnets.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_subnets
ec2_describe_subnets <- function(Filters = NULL, SubnetIds = NULL, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeSubnets",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Subnets")
)
input <- .ec2$describe_subnets_input(Filters = Filters, SubnetIds = SubnetIds, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_subnets_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_subnets <- ec2_describe_subnets
#' Describes the specified tags for your EC2 resources
#'
#' @description
#' Describes the specified tags for your EC2 resources.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_tags/](https://www.paws-r-sdk.com/docs/ec2_describe_tags/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `key` - The tag key.
#'
#' - `resource-id` - The ID of the resource.
#'
#' - `resource-type` - The resource type. For a list of possible values,
#' see
#' [TagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html).
#'
#' - `tag`:\<key\> - The key/value combination of the tag. For example,
#' specify "tag:Owner" for the filter name and "TeamA" for the filter
#' value to find resources with the tag "Owner=TeamA".
#'
#' - `value` - The tag value.
#' @param MaxResults The maximum number of items to return for this request. This value can
#' be between 5 and 1000. To get the next page of items, make another
#' request with the token returned in the output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_tags
ec2_describe_tags <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeTags",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Tags")
)
input <- .ec2$describe_tags_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_tags_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_tags <- ec2_describe_tags
#' Describes one or more Traffic Mirror filters
#'
#' @description
#' Describes one or more Traffic Mirror filters.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_traffic_mirror_filters/](https://www.paws-r-sdk.com/docs/ec2_describe_traffic_mirror_filters/) for full documentation.
#'
#' @param TrafficMirrorFilterIds The ID of the Traffic Mirror filter.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters. The possible values are:
#'
#' - `description`: The Traffic Mirror filter description.
#'
#' - `traffic-mirror-filter-id`: The ID of the Traffic Mirror filter.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_traffic_mirror_filters
ec2_describe_traffic_mirror_filters <- function(TrafficMirrorFilterIds = NULL, DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeTrafficMirrorFilters",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TrafficMirrorFilters")
)
input <- .ec2$describe_traffic_mirror_filters_input(TrafficMirrorFilterIds = TrafficMirrorFilterIds, DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_traffic_mirror_filters_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_traffic_mirror_filters <- ec2_describe_traffic_mirror_filters
#' Describes one or more Traffic Mirror sessions
#'
#' @description
#' Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_traffic_mirror_sessions/](https://www.paws-r-sdk.com/docs/ec2_describe_traffic_mirror_sessions/) for full documentation.
#'
#' @param TrafficMirrorSessionIds The ID of the Traffic Mirror session.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters. The possible values are:
#'
#' - `description`: The Traffic Mirror session description.
#'
#' - `network-interface-id`: The ID of the Traffic Mirror session network
#' interface.
#'
#' - `owner-id`: The ID of the account that owns the Traffic Mirror
#' session.
#'
#' - `packet-length`: The assigned number of packets to mirror.
#'
#' - `session-number`: The assigned session number.
#'
#' - `traffic-mirror-filter-id`: The ID of the Traffic Mirror filter.
#'
#' - `traffic-mirror-session-id`: The ID of the Traffic Mirror session.
#'
#' - `traffic-mirror-target-id`: The ID of the Traffic Mirror target.
#'
#' - `virtual-network-id`: The virtual network ID of the Traffic Mirror
#' session.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_traffic_mirror_sessions
ec2_describe_traffic_mirror_sessions <- function(TrafficMirrorSessionIds = NULL, DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeTrafficMirrorSessions",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TrafficMirrorSessions")
)
input <- .ec2$describe_traffic_mirror_sessions_input(TrafficMirrorSessionIds = TrafficMirrorSessionIds, DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_traffic_mirror_sessions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_traffic_mirror_sessions <- ec2_describe_traffic_mirror_sessions
#' Information about one or more Traffic Mirror targets
#'
#' @description
#' Information about one or more Traffic Mirror targets.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_traffic_mirror_targets/](https://www.paws-r-sdk.com/docs/ec2_describe_traffic_mirror_targets/) for full documentation.
#'
#' @param TrafficMirrorTargetIds The ID of the Traffic Mirror targets.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters. The possible values are:
#'
#' - `description`: The Traffic Mirror target description.
#'
#' - `network-interface-id`: The ID of the Traffic Mirror session network
#' interface.
#'
#' - `network-load-balancer-arn`: The Amazon Resource Name (ARN) of the
#' Network Load Balancer that is associated with the session.
#'
#' - `owner-id`: The ID of the account that owns the Traffic Mirror
#' session.
#'
#' - `traffic-mirror-target-id`: The ID of the Traffic Mirror target.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_traffic_mirror_targets
ec2_describe_traffic_mirror_targets <- function(TrafficMirrorTargetIds = NULL, DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeTrafficMirrorTargets",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TrafficMirrorTargets")
)
input <- .ec2$describe_traffic_mirror_targets_input(TrafficMirrorTargetIds = TrafficMirrorTargetIds, DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_traffic_mirror_targets_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_traffic_mirror_targets <- ec2_describe_traffic_mirror_targets
#' Describes one or more attachments between resources and transit gateways
#'
#' @description
#' Describes one or more attachments between resources and transit gateways. By default, all attachments are described. Alternatively, you can filter the results by attachment ID, attachment state, resource ID, or resource owner.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_attachments/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_attachments/) for full documentation.
#'
#' @param TransitGatewayAttachmentIds The IDs of the attachments.
#' @param Filters One or more filters. The possible values are:
#'
#' - `association.state` - The state of the association (`associating` |
#' `associated` | `disassociating`).
#'
#' - `association.transit-gateway-route-table-id` - The ID of the route
#' table for the transit gateway.
#'
#' - `resource-id` - The ID of the resource.
#'
#' - `resource-owner-id` - The ID of the Amazon Web Services account that
#' owns the resource.
#'
#' - `resource-type` - The resource type. Valid values are `vpc` | `vpn`
#' | `direct-connect-gateway` | `peering` | `connect`.
#'
#' - `state` - The state of the attachment. Valid values are `available`
#' | `deleted` | `deleting` | `failed` | `failing` |
#' `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending`
#' | `rollingBack` | `rejected` | `rejecting`.
#'
#' - `transit-gateway-attachment-id` - The ID of the attachment.
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#'
#' - `transit-gateway-owner-id` - The ID of the Amazon Web Services
#' account that owns the transit gateway.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_attachments
ec2_describe_transit_gateway_attachments <- function(TransitGatewayAttachmentIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayAttachments",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayAttachments")
)
input <- .ec2$describe_transit_gateway_attachments_input(TransitGatewayAttachmentIds = TransitGatewayAttachmentIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_attachments_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_attachments <- ec2_describe_transit_gateway_attachments
#' Describes one or more Connect peers
#'
#' @description
#' Describes one or more Connect peers.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_connect_peers/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_connect_peers/) for full documentation.
#'
#' @param TransitGatewayConnectPeerIds The IDs of the Connect peers.
#' @param Filters One or more filters. The possible values are:
#'
#' - `state` - The state of the Connect peer (`pending` | `available` |
#' `deleting` | `deleted`).
#'
#' - `transit-gateway-attachment-id` - The ID of the attachment.
#'
#' - `transit-gateway-connect-peer-id` - The ID of the Connect peer.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_connect_peers
ec2_describe_transit_gateway_connect_peers <- function(TransitGatewayConnectPeerIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayConnectPeers",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayConnectPeers")
)
input <- .ec2$describe_transit_gateway_connect_peers_input(TransitGatewayConnectPeerIds = TransitGatewayConnectPeerIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_connect_peers_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_connect_peers <- ec2_describe_transit_gateway_connect_peers
#' Describes one or more Connect attachments
#'
#' @description
#' Describes one or more Connect attachments.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_connects/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_connects/) for full documentation.
#'
#' @param TransitGatewayAttachmentIds The IDs of the attachments.
#' @param Filters One or more filters. The possible values are:
#'
#' - `options.protocol` - The tunnel protocol (`gre`).
#'
#' - `state` - The state of the attachment (`initiating` |
#' `initiatingRequest` | `pendingAcceptance` | `rollingBack` |
#' `pending` | `available` | `modifying` | `deleting` | `deleted` |
#' `failed` | `rejected` | `rejecting` | `failing`).
#'
#' - `transit-gateway-attachment-id` - The ID of the Connect attachment.
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#'
#' - `transport-transit-gateway-attachment-id` - The ID of the transit
#' gateway attachment from which the Connect attachment was created.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_connects
ec2_describe_transit_gateway_connects <- function(TransitGatewayAttachmentIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayConnects",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayConnects")
)
input <- .ec2$describe_transit_gateway_connects_input(TransitGatewayAttachmentIds = TransitGatewayAttachmentIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_connects_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_connects <- ec2_describe_transit_gateway_connects
#' Describes one or more transit gateway multicast domains
#'
#' @description
#' Describes one or more transit gateway multicast domains.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_multicast_domains/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_multicast_domains/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainIds The ID of the transit gateway multicast domain.
#' @param Filters One or more filters. The possible values are:
#'
#' - `state` - The state of the transit gateway multicast domain. Valid
#' values are `pending` | `available` | `deleting` | `deleted`.
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#'
#' - `transit-gateway-multicast-domain-id` - The ID of the transit
#' gateway multicast domain.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_multicast_domains
ec2_describe_transit_gateway_multicast_domains <- function(TransitGatewayMulticastDomainIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayMulticastDomains",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayMulticastDomains")
)
input <- .ec2$describe_transit_gateway_multicast_domains_input(TransitGatewayMulticastDomainIds = TransitGatewayMulticastDomainIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_multicast_domains_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_multicast_domains <- ec2_describe_transit_gateway_multicast_domains
#' Describes your transit gateway peering attachments
#'
#' @description
#' Describes your transit gateway peering attachments.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_peering_attachments/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_peering_attachments/) for full documentation.
#'
#' @param TransitGatewayAttachmentIds One or more IDs of the transit gateway peering attachments.
#' @param Filters One or more filters. The possible values are:
#'
#' - `transit-gateway-attachment-id` - The ID of the transit gateway
#' attachment.
#'
#' - `local-owner-id` - The ID of your Amazon Web Services account.
#'
#' - `remote-owner-id` - The ID of the Amazon Web Services account in the
#' remote Region that owns the transit gateway.
#'
#' - `state` - The state of the peering attachment. Valid values are
#' `available` | `deleted` | `deleting` | `failed` | `failing` |
#' `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending`
#' | `rollingBack` | `rejected` | `rejecting`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources that have a tag with a specific key,
#' regardless of the tag value.
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_peering_attachments
ec2_describe_transit_gateway_peering_attachments <- function(TransitGatewayAttachmentIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayPeeringAttachments",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayPeeringAttachments")
)
input <- .ec2$describe_transit_gateway_peering_attachments_input(TransitGatewayAttachmentIds = TransitGatewayAttachmentIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_peering_attachments_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_peering_attachments <- ec2_describe_transit_gateway_peering_attachments
#' Describes one or more transit gateway route policy tables
#'
#' @description
#' Describes one or more transit gateway route policy tables.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_policy_tables/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_policy_tables/) for full documentation.
#'
#' @param TransitGatewayPolicyTableIds The IDs of the transit gateway policy tables.
#' @param Filters The filters associated with the transit gateway policy table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_policy_tables
ec2_describe_transit_gateway_policy_tables <- function(TransitGatewayPolicyTableIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayPolicyTables",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayPolicyTables")
)
input <- .ec2$describe_transit_gateway_policy_tables_input(TransitGatewayPolicyTableIds = TransitGatewayPolicyTableIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_policy_tables_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_policy_tables <- ec2_describe_transit_gateway_policy_tables
#' Describes one or more transit gateway route table advertisements
#'
#' @description
#' Describes one or more transit gateway route table advertisements.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_route_table_announcements/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_route_table_announcements/) for full documentation.
#'
#' @param TransitGatewayRouteTableAnnouncementIds The IDs of the transit gateway route tables that are being advertised.
#' @param Filters The filters associated with the transit gateway policy table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_route_table_announcements
ec2_describe_transit_gateway_route_table_announcements <- function(TransitGatewayRouteTableAnnouncementIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayRouteTableAnnouncements",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayRouteTableAnnouncements")
)
input <- .ec2$describe_transit_gateway_route_table_announcements_input(TransitGatewayRouteTableAnnouncementIds = TransitGatewayRouteTableAnnouncementIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_route_table_announcements_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_route_table_announcements <- ec2_describe_transit_gateway_route_table_announcements
#' Describes one or more transit gateway route tables
#'
#' @description
#' Describes one or more transit gateway route tables. By default, all transit gateway route tables are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_route_tables/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_route_tables/) for full documentation.
#'
#' @param TransitGatewayRouteTableIds The IDs of the transit gateway route tables.
#' @param Filters One or more filters. The possible values are:
#'
#' - `default-association-route-table` - Indicates whether this is the
#' default association route table for the transit gateway (`true` |
#' `false`).
#'
#' - `default-propagation-route-table` - Indicates whether this is the
#' default propagation route table for the transit gateway (`true` |
#' `false`).
#'
#' - `state` - The state of the route table (`available` | `deleting` |
#' `deleted` | `pending`).
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#'
#' - `transit-gateway-route-table-id` - The ID of the transit gateway
#' route table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_route_tables
ec2_describe_transit_gateway_route_tables <- function(TransitGatewayRouteTableIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayRouteTables",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayRouteTables")
)
input <- .ec2$describe_transit_gateway_route_tables_input(TransitGatewayRouteTableIds = TransitGatewayRouteTableIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_route_tables_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_route_tables <- ec2_describe_transit_gateway_route_tables
#' Describes one or more VPC attachments
#'
#' @description
#' Describes one or more VPC attachments. By default, all VPC attachments are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_vpc_attachments/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateway_vpc_attachments/) for full documentation.
#'
#' @param TransitGatewayAttachmentIds The IDs of the attachments.
#' @param Filters One or more filters. The possible values are:
#'
#' - `state` - The state of the attachment. Valid values are `available`
#' | `deleted` | `deleting` | `failed` | `failing` |
#' `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending`
#' | `rollingBack` | `rejected` | `rejecting`.
#'
#' - `transit-gateway-attachment-id` - The ID of the attachment.
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#'
#' - `vpc-id` - The ID of the VPC.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateway_vpc_attachments
ec2_describe_transit_gateway_vpc_attachments <- function(TransitGatewayAttachmentIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGatewayVpcAttachments",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayVpcAttachments")
)
input <- .ec2$describe_transit_gateway_vpc_attachments_input(TransitGatewayAttachmentIds = TransitGatewayAttachmentIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateway_vpc_attachments_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateway_vpc_attachments <- ec2_describe_transit_gateway_vpc_attachments
#' Describes one or more transit gateways
#'
#' @description
#' Describes one or more transit gateways. By default, all transit gateways are described. Alternatively, you can filter the results.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_transit_gateways/) for full documentation.
#'
#' @param TransitGatewayIds The IDs of the transit gateways.
#' @param Filters One or more filters. The possible values are:
#'
#' - `options.propagation-default-route-table-id` - The ID of the default
#' propagation route table.
#'
#' - `options.amazon-side-asn` - The private ASN for the Amazon side of a
#' BGP session.
#'
#' - `options.association-default-route-table-id` - The ID of the default
#' association route table.
#'
#' - `options.auto-accept-shared-attachments` - Indicates whether there
#' is automatic acceptance of attachment requests (`enable` |
#' `disable`).
#'
#' - `options.default-route-table-association` - Indicates whether
#' resource attachments are automatically associated with the default
#' association route table (`enable` | `disable`).
#'
#' - `options.default-route-table-propagation` - Indicates whether
#' resource attachments automatically propagate routes to the default
#' propagation route table (`enable` | `disable`).
#'
#' - `options.dns-support` - Indicates whether DNS support is enabled
#' (`enable` | `disable`).
#'
#' - `options.vpn-ecmp-support` - Indicates whether Equal Cost Multipath
#' Protocol support is enabled (`enable` | `disable`).
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' transit gateway.
#'
#' - `state` - The state of the transit gateway (`available` | `deleted`
#' | `deleting` | `modifying` | `pending`).
#'
#' - `transit-gateway-id` - The ID of the transit gateway.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_transit_gateways
ec2_describe_transit_gateways <- function(TransitGatewayIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeTransitGateways",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGateways")
)
input <- .ec2$describe_transit_gateways_input(TransitGatewayIds = TransitGatewayIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$describe_transit_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_transit_gateways <- ec2_describe_transit_gateways
#' Describes one or more network interface trunk associations
#'
#' @description
#' Describes one or more network interface trunk associations.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_trunk_interface_associations/](https://www.paws-r-sdk.com/docs/ec2_describe_trunk_interface_associations/) for full documentation.
#'
#' @param AssociationIds The IDs of the associations.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters.
#'
#' - `gre-key` - The ID of a trunk interface association.
#'
#' - `interface-protocol` - The interface protocol. Valid values are
#' `VLAN` and `GRE`.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_trunk_interface_associations
ec2_describe_trunk_interface_associations <- function(AssociationIds = NULL, DryRun = NULL, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeTrunkInterfaceAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InterfaceAssociations")
)
input <- .ec2$describe_trunk_interface_associations_input(AssociationIds = AssociationIds, DryRun = DryRun, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_trunk_interface_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_trunk_interface_associations <- ec2_describe_trunk_interface_associations
#' Describes the specified Amazon Web Services Verified Access endpoints
#'
#' @description
#' Describes the specified Amazon Web Services Verified Access endpoints.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_endpoints/](https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_endpoints/) for full documentation.
#'
#' @param VerifiedAccessEndpointIds The ID of the Verified Access endpoint.
#' @param VerifiedAccessInstanceId The ID of the Verified Access instance.
#' @param VerifiedAccessGroupId The ID of the Verified Access group.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_verified_access_endpoints
ec2_describe_verified_access_endpoints <- function(VerifiedAccessEndpointIds = NULL, VerifiedAccessInstanceId = NULL, VerifiedAccessGroupId = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVerifiedAccessEndpoints",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VerifiedAccessEndpoints")
)
input <- .ec2$describe_verified_access_endpoints_input(VerifiedAccessEndpointIds = VerifiedAccessEndpointIds, VerifiedAccessInstanceId = VerifiedAccessInstanceId, VerifiedAccessGroupId = VerifiedAccessGroupId, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_verified_access_endpoints_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_verified_access_endpoints <- ec2_describe_verified_access_endpoints
#' Describes the specified Verified Access groups
#'
#' @description
#' Describes the specified Verified Access groups.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_groups/](https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_groups/) for full documentation.
#'
#' @param VerifiedAccessGroupIds The ID of the Verified Access groups.
#' @param VerifiedAccessInstanceId The ID of the Verified Access instance.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_verified_access_groups
ec2_describe_verified_access_groups <- function(VerifiedAccessGroupIds = NULL, VerifiedAccessInstanceId = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVerifiedAccessGroups",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VerifiedAccessGroups")
)
input <- .ec2$describe_verified_access_groups_input(VerifiedAccessGroupIds = VerifiedAccessGroupIds, VerifiedAccessInstanceId = VerifiedAccessInstanceId, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_verified_access_groups_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_verified_access_groups <- ec2_describe_verified_access_groups
#' Describes the specified Amazon Web Services Verified Access instances
#'
#' @description
#' Describes the specified Amazon Web Services Verified Access instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_instance_logging_configurations/](https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_instance_logging_configurations/) for full documentation.
#'
#' @param VerifiedAccessInstanceIds The IDs of the Verified Access instances.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_verified_access_instance_logging_configurations
ec2_describe_verified_access_instance_logging_configurations <- function(VerifiedAccessInstanceIds = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVerifiedAccessInstanceLoggingConfigurations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "LoggingConfigurations")
)
input <- .ec2$describe_verified_access_instance_logging_configurations_input(VerifiedAccessInstanceIds = VerifiedAccessInstanceIds, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_verified_access_instance_logging_configurations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_verified_access_instance_logging_configurations <- ec2_describe_verified_access_instance_logging_configurations
#' Describes the specified Amazon Web Services Verified Access instances
#'
#' @description
#' Describes the specified Amazon Web Services Verified Access instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_instances/](https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_instances/) for full documentation.
#'
#' @param VerifiedAccessInstanceIds The IDs of the Verified Access instances.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_verified_access_instances
ec2_describe_verified_access_instances <- function(VerifiedAccessInstanceIds = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVerifiedAccessInstances",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VerifiedAccessInstances")
)
input <- .ec2$describe_verified_access_instances_input(VerifiedAccessInstanceIds = VerifiedAccessInstanceIds, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_verified_access_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_verified_access_instances <- ec2_describe_verified_access_instances
#' Describes the specified Amazon Web Services Verified Access trust
#' providers
#'
#' @description
#' Describes the specified Amazon Web Services Verified Access trust providers.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_trust_providers/](https://www.paws-r-sdk.com/docs/ec2_describe_verified_access_trust_providers/) for full documentation.
#'
#' @param VerifiedAccessTrustProviderIds The IDs of the Verified Access trust providers.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param Filters One or more filters. Filter names and values are case-sensitive.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_verified_access_trust_providers
ec2_describe_verified_access_trust_providers <- function(VerifiedAccessTrustProviderIds = NULL, MaxResults = NULL, NextToken = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVerifiedAccessTrustProviders",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VerifiedAccessTrustProviders")
)
input <- .ec2$describe_verified_access_trust_providers_input(VerifiedAccessTrustProviderIds = VerifiedAccessTrustProviderIds, MaxResults = MaxResults, NextToken = NextToken, Filters = Filters, DryRun = DryRun)
output <- .ec2$describe_verified_access_trust_providers_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_verified_access_trust_providers <- ec2_describe_verified_access_trust_providers
#' Describes the specified attribute of the specified volume
#'
#' @description
#' Describes the specified attribute of the specified volume. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_volume_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_volume_attribute/) for full documentation.
#'
#' @param Attribute [required] The attribute of the volume. This parameter is required.
#' @param VolumeId [required] The ID of the volume.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_volume_attribute
ec2_describe_volume_attribute <- function(Attribute, VolumeId, DryRun = NULL) {
op <- new_operation(
name = "DescribeVolumeAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_volume_attribute_input(Attribute = Attribute, VolumeId = VolumeId, DryRun = DryRun)
output <- .ec2$describe_volume_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_volume_attribute <- ec2_describe_volume_attribute
#' Describes the status of the specified volumes
#'
#' @description
#' Describes the status of the specified volumes. Volume status provides the result of the checks performed on your volumes to determine events that can impair the performance of your volumes. The performance of a volume can be affected if an issue occurs on the volume's underlying host. If the volume's underlying host experiences a power outage or system issue, after the system is restored, there could be data inconsistencies on the volume. Volume events notify you if this occurs. Volume actions notify you if any action needs to be taken in response to the event.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_volume_status/](https://www.paws-r-sdk.com/docs/ec2_describe_volume_status/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `action.code` - The action code for the event (for example,
#' `enable-volume-io`).
#'
#' - `action.description` - A description of the action.
#'
#' - `action.event-id` - The event ID associated with the action.
#'
#' - `availability-zone` - The Availability Zone of the instance.
#'
#' - `event.description` - A description of the event.
#'
#' - `event.event-id` - The event ID.
#'
#' - `event.event-type` - The event type (for `io-enabled`: `passed` |
#' `failed`; for `io-performance`: `io-performance:degraded` |
#' `io-performance:severely-degraded` | `io-performance:stalled`).
#'
#' - `event.not-after` - The latest end time for the event.
#'
#' - `event.not-before` - The earliest start time for the event.
#'
#' - `volume-status.details-name` - The cause for `volume-status.status`
#' (`io-enabled` | `io-performance`).
#'
#' - `volume-status.details-status` - The status of
#' `volume-status.details-name` (for `io-enabled`: `passed` | `failed`;
#' for `io-performance`: `normal` | `degraded` | `severely-degraded` |
#' `stalled`).
#'
#' - `volume-status.status` - The status of the volume (`ok` | `impaired`
#' | `warning` | `insufficient-data`).
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. This value can be between 5 and 1,000; if the value is larger
#' than 1,000, only 1,000 results are returned. If this parameter is not
#' used, then all items are returned. You cannot specify this parameter and
#' the volume IDs parameter in the same request. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param VolumeIds The IDs of the volumes.
#'
#' Default: Describes all your volumes.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_volume_status
ec2_describe_volume_status <- function(Filters = NULL, MaxResults = NULL, NextToken = NULL, VolumeIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVolumeStatus",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VolumeStatuses")
)
input <- .ec2$describe_volume_status_input(Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, VolumeIds = VolumeIds, DryRun = DryRun)
output <- .ec2$describe_volume_status_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_volume_status <- ec2_describe_volume_status
#' Describes the specified EBS volumes or all of your EBS volumes
#'
#' @description
#' Describes the specified EBS volumes or all of your EBS volumes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_volumes/](https://www.paws-r-sdk.com/docs/ec2_describe_volumes/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `attachment.attach-time` - The time stamp when the attachment
#' initiated.
#'
#' - `attachment.delete-on-termination` - Whether the volume is deleted
#' on instance termination.
#'
#' - `attachment.device` - The device name specified in the block device
#' mapping (for example, `/dev/sda1`).
#'
#' - `attachment.instance-id` - The ID of the instance the volume is
#' attached to.
#'
#' - `attachment.status` - The attachment state (`attaching` | `attached`
#' | `detaching`).
#'
#' - `availability-zone` - The Availability Zone in which the volume was
#' created.
#'
#' - `create-time` - The time stamp when the volume was created.
#'
#' - `encrypted` - Indicates whether the volume is encrypted (`true` |
#' `false`)
#'
#' - `multi-attach-enabled` - Indicates whether the volume is enabled for
#' Multi-Attach (`true` | `false`)
#'
#' - `fast-restored` - Indicates whether the volume was created from a
#' snapshot that is enabled for fast snapshot restore (`true` |
#' `false`).
#'
#' - `size` - The size of the volume, in GiB.
#'
#' - `snapshot-id` - The snapshot from which the volume was created.
#'
#' - `status` - The state of the volume (`creating` | `available` |
#' `in-use` | `deleting` | `deleted` | `error`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `volume-id` - The volume ID.
#'
#' - `volume-type` - The Amazon EBS volume type (`gp2` | `gp3` | `io1` |
#' `io2` | `st1` | `sc1`| `standard`)
#' @param VolumeIds The volume IDs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of volumes to return for this request. This value can
#' be between 5 and 500; if you specify a value larger than 500, only 500
#' items are returned. If this parameter is not used, then all items are
#' returned. You cannot specify this parameter and the volume IDs parameter
#' in the same request. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned from the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_volumes
ec2_describe_volumes <- function(Filters = NULL, VolumeIds = NULL, DryRun = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVolumes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Volumes")
)
input <- .ec2$describe_volumes_input(Filters = Filters, VolumeIds = VolumeIds, DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_volumes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_volumes <- ec2_describe_volumes
#' Describes the most recent volume modification request for the specified
#' EBS volumes
#'
#' @description
#' Describes the most recent volume modification request for the specified EBS volumes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_volumes_modifications/](https://www.paws-r-sdk.com/docs/ec2_describe_volumes_modifications/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VolumeIds The IDs of the volumes.
#' @param Filters The filters.
#'
#' - `modification-state` - The current modification state (modifying |
#' optimizing | completed | failed).
#'
#' - `original-iops` - The original IOPS rate of the volume.
#'
#' - `original-size` - The original size of the volume, in GiB.
#'
#' - `original-volume-type` - The original volume type of the volume
#' (standard | io1 | io2 | gp2 | sc1 | st1).
#'
#' - `originalMultiAttachEnabled` - Indicates whether Multi-Attach
#' support was enabled (true | false).
#'
#' - `start-time` - The modification start time.
#'
#' - `target-iops` - The target IOPS rate of the volume.
#'
#' - `target-size` - The target size of the volume, in GiB.
#'
#' - `target-volume-type` - The target volume type of the volume
#' (standard | io1 | io2 | gp2 | sc1 | st1).
#'
#' - `targetMultiAttachEnabled` - Indicates whether Multi-Attach support
#' is to be enabled (true | false).
#'
#' - `volume-id` - The ID of the volume.
#' @param NextToken The token returned by a previous paginated request. Pagination continues
#' from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of results (up to a limit of 500) to be returned in a
#' paginated request. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_volumes_modifications
ec2_describe_volumes_modifications <- function(DryRun = NULL, VolumeIds = NULL, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeVolumesModifications",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VolumesModifications")
)
input <- .ec2$describe_volumes_modifications_input(DryRun = DryRun, VolumeIds = VolumeIds, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_volumes_modifications_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_volumes_modifications <- ec2_describe_volumes_modifications
#' Describes the specified attribute of the specified VPC
#'
#' @description
#' Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_attribute/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_attribute/) for full documentation.
#'
#' @param Attribute [required] The VPC attribute.
#' @param VpcId [required] The ID of the VPC.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_attribute
ec2_describe_vpc_attribute <- function(Attribute, VpcId, DryRun = NULL) {
op <- new_operation(
name = "DescribeVpcAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_vpc_attribute_input(Attribute = Attribute, VpcId = VpcId, DryRun = DryRun)
output <- .ec2$describe_vpc_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_attribute <- ec2_describe_vpc_attribute
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_classic_link/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_classic_link/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `is-classic-link-enabled` - Whether the VPC is enabled for
#' ClassicLink (`true` | `false`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcIds The VPCs for which you want to describe the ClassicLink status.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_classic_link
ec2_describe_vpc_classic_link <- function(Filters = NULL, DryRun = NULL, VpcIds = NULL) {
op <- new_operation(
name = "DescribeVpcClassicLink",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_vpc_classic_link_input(Filters = Filters, DryRun = DryRun, VpcIds = VpcIds)
output <- .ec2$describe_vpc_classic_link_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_classic_link <- ec2_describe_vpc_classic_link
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_classic_link_dns_support/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_classic_link_dns_support/) for full documentation.
#'
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param VpcIds The IDs of the VPCs.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_classic_link_dns_support
ec2_describe_vpc_classic_link_dns_support <- function(MaxResults = NULL, NextToken = NULL, VpcIds = NULL) {
op <- new_operation(
name = "DescribeVpcClassicLinkDnsSupport",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Vpcs")
)
input <- .ec2$describe_vpc_classic_link_dns_support_input(MaxResults = MaxResults, NextToken = NextToken, VpcIds = VpcIds)
output <- .ec2$describe_vpc_classic_link_dns_support_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_classic_link_dns_support <- ec2_describe_vpc_classic_link_dns_support
#' Describes the connection notifications for VPC endpoints and VPC
#' endpoint services
#'
#' @description
#' Describes the connection notifications for VPC endpoints and VPC endpoint services.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_connection_notifications/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_connection_notifications/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ConnectionNotificationId The ID of the notification.
#' @param Filters The filters.
#'
#' - `connection-notification-arn` - The ARN of the SNS topic for the
#' notification.
#'
#' - `connection-notification-id` - The ID of the notification.
#'
#' - `connection-notification-state` - The state of the notification
#' (`Enabled` | `Disabled`).
#'
#' - `connection-notification-type` - The type of notification (`Topic`).
#'
#' - `service-id` - The ID of the endpoint service.
#'
#' - `vpc-endpoint-id` - The ID of the VPC endpoint.
#' @param MaxResults The maximum number of results to return in a single call. To retrieve
#' the remaining results, make another request with the returned
#' `NextToken` value.
#' @param NextToken The token to request the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_endpoint_connection_notifications
ec2_describe_vpc_endpoint_connection_notifications <- function(DryRun = NULL, ConnectionNotificationId = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVpcEndpointConnectionNotifications",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ConnectionNotificationSet")
)
input <- .ec2$describe_vpc_endpoint_connection_notifications_input(DryRun = DryRun, ConnectionNotificationId = ConnectionNotificationId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_vpc_endpoint_connection_notifications_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_endpoint_connection_notifications <- ec2_describe_vpc_endpoint_connection_notifications
#' Describes the VPC endpoint connections to your VPC endpoint services,
#' including any endpoints that are pending your acceptance
#'
#' @description
#' Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_connections/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_connections/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Filters The filters.
#'
#' - `ip-address-type` - The IP address type (`ipv4` | `ipv6`).
#'
#' - `service-id` - The ID of the service.
#'
#' - `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID
#' that owns the endpoint.
#'
#' - `vpc-endpoint-state` - The state of the endpoint
#' (`pendingAcceptance` | `pending` | `available` | `deleting` |
#' `deleted` | `rejected` | `failed`).
#'
#' - `vpc-endpoint-id` - The ID of the endpoint.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results of the initial request can be seen by
#' sending another request with the returned `NextToken` value. This value
#' can be between 5 and 1,000; if `MaxResults` is given a value larger than
#' 1,000, only 1,000 results are returned.
#' @param NextToken The token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_endpoint_connections
ec2_describe_vpc_endpoint_connections <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVpcEndpointConnections",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VpcEndpointConnections")
)
input <- .ec2$describe_vpc_endpoint_connections_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_vpc_endpoint_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_endpoint_connections <- ec2_describe_vpc_endpoint_connections
#' Describes the VPC endpoint service configurations in your account (your
#' services)
#'
#' @description
#' Describes the VPC endpoint service configurations in your account (your services).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_service_configurations/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_service_configurations/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceIds The IDs of the endpoint services.
#' @param Filters The filters.
#'
#' - `service-name` - The name of the service.
#'
#' - `service-id` - The ID of the service.
#'
#' - `service-state` - The state of the service (`Pending` | `Available`
#' | `Deleting` | `Deleted` | `Failed`).
#'
#' - `supported-ip-address-types` - The IP address type (`ipv4` |
#' `ipv6`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results of the initial request can be seen by
#' sending another request with the returned `NextToken` value. This value
#' can be between 5 and 1,000; if `MaxResults` is given a value larger than
#' 1,000, only 1,000 results are returned.
#' @param NextToken The token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_endpoint_service_configurations
ec2_describe_vpc_endpoint_service_configurations <- function(DryRun = NULL, ServiceIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVpcEndpointServiceConfigurations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "ServiceConfigurations")
)
input <- .ec2$describe_vpc_endpoint_service_configurations_input(DryRun = DryRun, ServiceIds = ServiceIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_vpc_endpoint_service_configurations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_endpoint_service_configurations <- ec2_describe_vpc_endpoint_service_configurations
#' Describes the principals (service consumers) that are permitted to
#' discover your VPC endpoint service
#'
#' @description
#' Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_service_permissions/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_service_permissions/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the service.
#' @param Filters The filters.
#'
#' - `principal` - The ARN of the principal.
#'
#' - `principal-type` - The principal type (`All` | `Service` |
#' `OrganizationUnit` | `Account` | `User` | `Role`).
#' @param MaxResults The maximum number of results to return for the request in a single
#' page. The remaining results of the initial request can be seen by
#' sending another request with the returned `NextToken` value. This value
#' can be between 5 and 1,000; if `MaxResults` is given a value larger than
#' 1,000, only 1,000 results are returned.
#' @param NextToken The token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_endpoint_service_permissions
ec2_describe_vpc_endpoint_service_permissions <- function(DryRun = NULL, ServiceId, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVpcEndpointServicePermissions",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "AllowedPrincipals")
)
input <- .ec2$describe_vpc_endpoint_service_permissions_input(DryRun = DryRun, ServiceId = ServiceId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_vpc_endpoint_service_permissions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_endpoint_service_permissions <- ec2_describe_vpc_endpoint_service_permissions
#' Describes available services to which you can create a VPC endpoint
#'
#' @description
#' Describes available services to which you can create a VPC endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_services/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoint_services/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceNames The service names.
#' @param Filters The filters.
#'
#' - `owner` - The ID or alias of the Amazon Web Services account that
#' owns the service.
#'
#' - `service-name` - The name of the service.
#'
#' - `service-type` - The type of service (`Interface` | `Gateway` |
#' `GatewayLoadBalancer`).
#'
#' - `supported-ip-address-types` - The IP address type (`ipv4` |
#' `ipv6`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param MaxResults The maximum number of items to return for this request. The request
#' returns a token that you can specify in a subsequent call to get the
#' next set of results.
#'
#' Constraint: If the value is greater than 1,000, we return only 1,000
#' items.
#' @param NextToken The token for the next set of items to return. (You received this token
#' from a prior call.)
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_endpoint_services
ec2_describe_vpc_endpoint_services <- function(DryRun = NULL, ServiceNames = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVpcEndpointServices",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$describe_vpc_endpoint_services_input(DryRun = DryRun, ServiceNames = ServiceNames, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_vpc_endpoint_services_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_endpoint_services <- ec2_describe_vpc_endpoint_services
#' Describes your VPC endpoints
#'
#' @description
#' Describes your VPC endpoints.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoints/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_endpoints/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcEndpointIds The IDs of the VPC endpoints.
#' @param Filters The filters.
#'
#' - `ip-address-type` - The IP address type (`ipv4` | `ipv6`).
#'
#' - `service-name` - The name of the service.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC in which the endpoint resides.
#'
#' - `vpc-endpoint-id` - The ID of the endpoint.
#'
#' - `vpc-endpoint-state` - The state of the endpoint
#' (`pendingAcceptance` | `pending` | `available` | `deleting` |
#' `deleted` | `rejected` | `failed`).
#'
#' - `vpc-endpoint-type` - The type of VPC endpoint (`Interface` |
#' `Gateway` | `GatewayLoadBalancer`).
#' @param MaxResults The maximum number of items to return for this request. The request
#' returns a token that you can specify in a subsequent call to get the
#' next set of results.
#'
#' Constraint: If the value is greater than 1,000, we return only 1,000
#' items.
#' @param NextToken The token for the next set of items to return. (You received this token
#' from a prior call.)
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_endpoints
ec2_describe_vpc_endpoints <- function(DryRun = NULL, VpcEndpointIds = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "DescribeVpcEndpoints",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VpcEndpoints")
)
input <- .ec2$describe_vpc_endpoints_input(DryRun = DryRun, VpcEndpointIds = VpcEndpointIds, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$describe_vpc_endpoints_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_endpoints <- ec2_describe_vpc_endpoints
#' Describes one or more of your VPC peering connections
#'
#' @description
#' Describes one or more of your VPC peering connections.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpc_peering_connections/](https://www.paws-r-sdk.com/docs/ec2_describe_vpc_peering_connections/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
#' VPC.
#'
#' - `accepter-vpc-info.owner-id` - The ID of the Amazon Web Services
#' account that owns the accepter VPC.
#'
#' - `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
#'
#' - `expiration-time` - The expiration date and time for the VPC peering
#' connection.
#'
#' - `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
#' requester's VPC.
#'
#' - `requester-vpc-info.owner-id` - The ID of the Amazon Web Services
#' account that owns the requester VPC.
#'
#' - `requester-vpc-info.vpc-id` - The ID of the requester VPC.
#'
#' - `status-code` - The status of the VPC peering connection
#' (`pending-acceptance` | `failed` | `expired` | `provisioning` |
#' `active` | `deleting` | `deleted` | `rejected`).
#'
#' - `status-message` - A message that provides more information about
#' the status of the VPC peering connection, if applicable.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-peering-connection-id` - The ID of the VPC peering connection.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcPeeringConnectionIds The IDs of the VPC peering connections.
#'
#' Default: Describes all your VPC peering connections.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpc_peering_connections
ec2_describe_vpc_peering_connections <- function(Filters = NULL, DryRun = NULL, VpcPeeringConnectionIds = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeVpcPeeringConnections",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VpcPeeringConnections")
)
input <- .ec2$describe_vpc_peering_connections_input(Filters = Filters, DryRun = DryRun, VpcPeeringConnectionIds = VpcPeeringConnectionIds, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_vpc_peering_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpc_peering_connections <- ec2_describe_vpc_peering_connections
#' Describes one or more of your VPCs
#'
#' @description
#' Describes one or more of your VPCs.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpcs/](https://www.paws-r-sdk.com/docs/ec2_describe_vpcs/) for full documentation.
#'
#' @param Filters The filters.
#'
#' - `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you
#' specify must exactly match the VPC's CIDR block for information to
#' be returned for the VPC. Must contain the slash followed by one or
#' two digits (for example, `/28`).
#'
#' - `cidr-block-association.cidr-block` - An IPv4 CIDR block associated
#' with the VPC.
#'
#' - `cidr-block-association.association-id` - The association ID for an
#' IPv4 CIDR block associated with the VPC.
#'
#' - `cidr-block-association.state` - The state of an IPv4 CIDR block
#' associated with the VPC.
#'
#' - `dhcp-options-id` - The ID of a set of DHCP options.
#'
#' - `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
#' associated with the VPC.
#'
#' - `ipv6-cidr-block-association.ipv6-pool` - The ID of the IPv6 address
#' pool from which the IPv6 CIDR block is allocated.
#'
#' - `ipv6-cidr-block-association.association-id` - The association ID
#' for an IPv6 CIDR block associated with the VPC.
#'
#' - `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
#' block associated with the VPC.
#'
#' - `is-default` - Indicates whether the VPC is the default VPC.
#'
#' - `owner-id` - The ID of the Amazon Web Services account that owns the
#' VPC.
#'
#' - `state` - The state of the VPC (`pending` | `available`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `vpc-id` - The ID of the VPC.
#' @param VpcIds The IDs of the VPCs.
#'
#' Default: Describes all your VPCs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpcs
ec2_describe_vpcs <- function(Filters = NULL, VpcIds = NULL, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "DescribeVpcs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Vpcs")
)
input <- .ec2$describe_vpcs_input(Filters = Filters, VpcIds = VpcIds, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$describe_vpcs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpcs <- ec2_describe_vpcs
#' Describes one or more of your VPN connections
#'
#' @description
#' Describes one or more of your VPN connections.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpn_connections/](https://www.paws-r-sdk.com/docs/ec2_describe_vpn_connections/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `customer-gateway-configuration` - The configuration information for
#' the customer gateway.
#'
#' - `customer-gateway-id` - The ID of a customer gateway associated with
#' the VPN connection.
#'
#' - `state` - The state of the VPN connection (`pending` | `available` |
#' `deleting` | `deleted`).
#'
#' - `option.static-routes-only` - Indicates whether the connection has
#' static routes only. Used for devices that do not support Border
#' Gateway Protocol (BGP).
#'
#' - `route.destination-cidr-block` - The destination CIDR block. This
#' corresponds to the subnet used in a customer data center.
#'
#' - `bgp-asn` - The BGP Autonomous System Number (ASN) associated with a
#' BGP device.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `type` - The type of VPN connection. Currently the only supported
#' type is `ipsec.1`.
#'
#' - `vpn-connection-id` - The ID of the VPN connection.
#'
#' - `vpn-gateway-id` - The ID of a virtual private gateway associated
#' with the VPN connection.
#'
#' - `transit-gateway-id` - The ID of a transit gateway associated with
#' the VPN connection.
#' @param VpnConnectionIds One or more VPN connection IDs.
#'
#' Default: Describes your VPN connections.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpn_connections
ec2_describe_vpn_connections <- function(Filters = NULL, VpnConnectionIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVpnConnections",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "VpnConnections")
)
input <- .ec2$describe_vpn_connections_input(Filters = Filters, VpnConnectionIds = VpnConnectionIds, DryRun = DryRun)
output <- .ec2$describe_vpn_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpn_connections <- ec2_describe_vpn_connections
#' Describes one or more of your virtual private gateways
#'
#' @description
#' Describes one or more of your virtual private gateways.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_describe_vpn_gateways/](https://www.paws-r-sdk.com/docs/ec2_describe_vpn_gateways/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `amazon-side-asn` - The Autonomous System Number (ASN) for the
#' Amazon side of the gateway.
#'
#' - `attachment.state` - The current state of the attachment between the
#' gateway and the VPC (`attaching` | `attached` | `detaching` |
#' `detached`).
#'
#' - `attachment.vpc-id` - The ID of an attached VPC.
#'
#' - `availability-zone` - The Availability Zone for the virtual private
#' gateway (if applicable).
#'
#' - `state` - The state of the virtual private gateway (`pending` |
#' `available` | `deleting` | `deleted`).
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#'
#' - `type` - The type of virtual private gateway. Currently the only
#' supported type is `ipsec.1`.
#'
#' - `vpn-gateway-id` - The ID of the virtual private gateway.
#' @param VpnGatewayIds One or more virtual private gateway IDs.
#'
#' Default: Describes all your virtual private gateways.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_describe_vpn_gateways
ec2_describe_vpn_gateways <- function(Filters = NULL, VpnGatewayIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DescribeVpnGateways",
http_method = "POST",
http_path = "/",
paginator = list(result_key = "VpnGateways")
)
input <- .ec2$describe_vpn_gateways_input(Filters = Filters, VpnGatewayIds = VpnGatewayIds, DryRun = DryRun)
output <- .ec2$describe_vpn_gateways_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$describe_vpn_gateways <- ec2_describe_vpn_gateways
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_detach_classic_link_vpc/](https://www.paws-r-sdk.com/docs/ec2_detach_classic_link_vpc/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance to unlink from the VPC.
#' @param VpcId [required] The ID of the VPC to which the instance is linked.
#'
#' @keywords internal
#'
#' @rdname ec2_detach_classic_link_vpc
ec2_detach_classic_link_vpc <- function(DryRun = NULL, InstanceId, VpcId) {
op <- new_operation(
name = "DetachClassicLinkVpc",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$detach_classic_link_vpc_input(DryRun = DryRun, InstanceId = InstanceId, VpcId = VpcId)
output <- .ec2$detach_classic_link_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$detach_classic_link_vpc <- ec2_detach_classic_link_vpc
#' Detaches an internet gateway from a VPC, disabling connectivity between
#' the internet and the VPC
#'
#' @description
#' Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses or public IPv4 addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_detach_internet_gateway/](https://www.paws-r-sdk.com/docs/ec2_detach_internet_gateway/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InternetGatewayId [required] The ID of the internet gateway.
#' @param VpcId [required] The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_detach_internet_gateway
ec2_detach_internet_gateway <- function(DryRun = NULL, InternetGatewayId, VpcId) {
op <- new_operation(
name = "DetachInternetGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$detach_internet_gateway_input(DryRun = DryRun, InternetGatewayId = InternetGatewayId, VpcId = VpcId)
output <- .ec2$detach_internet_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$detach_internet_gateway <- ec2_detach_internet_gateway
#' Detaches a network interface from an instance
#'
#' @description
#' Detaches a network interface from an instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_detach_network_interface/](https://www.paws-r-sdk.com/docs/ec2_detach_network_interface/) for full documentation.
#'
#' @param AttachmentId [required] The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Force Specifies whether to force a detachment.
#'
#' - Use the `Force` parameter only as a last resort to detach a network
#' interface from a failed instance.
#'
#' - If you use the `Force` parameter to detach a network interface, you
#' might not be able to attach a different network interface to the
#' same index on the instance without first stopping and starting the
#' instance.
#'
#' - If you force the detachment of a network interface, the [instance
#' metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
#' might not get updated. This means that the attributes associated
#' with the detached network interface might still be visible. The
#' instance metadata will get updated when you stop and start the
#' instance.
#'
#' @keywords internal
#'
#' @rdname ec2_detach_network_interface
ec2_detach_network_interface <- function(AttachmentId, DryRun = NULL, Force = NULL) {
op <- new_operation(
name = "DetachNetworkInterface",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$detach_network_interface_input(AttachmentId = AttachmentId, DryRun = DryRun, Force = Force)
output <- .ec2$detach_network_interface_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$detach_network_interface <- ec2_detach_network_interface
#' Detaches the specified Amazon Web Services Verified Access trust
#' provider from the specified Amazon Web Services Verified Access instance
#'
#' @description
#' Detaches the specified Amazon Web Services Verified Access trust provider from the specified Amazon Web Services Verified Access instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_detach_verified_access_trust_provider/](https://www.paws-r-sdk.com/docs/ec2_detach_verified_access_trust_provider/) for full documentation.
#'
#' @param VerifiedAccessInstanceId [required] The ID of the Verified Access instance.
#' @param VerifiedAccessTrustProviderId [required] The ID of the Verified Access trust provider.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_detach_verified_access_trust_provider
ec2_detach_verified_access_trust_provider <- function(VerifiedAccessInstanceId, VerifiedAccessTrustProviderId, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DetachVerifiedAccessTrustProvider",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$detach_verified_access_trust_provider_input(VerifiedAccessInstanceId = VerifiedAccessInstanceId, VerifiedAccessTrustProviderId = VerifiedAccessTrustProviderId, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$detach_verified_access_trust_provider_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$detach_verified_access_trust_provider <- ec2_detach_verified_access_trust_provider
#' Detaches an EBS volume from an instance
#'
#' @description
#' Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the `busy` state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_detach_volume/](https://www.paws-r-sdk.com/docs/ec2_detach_volume/) for full documentation.
#'
#' @param Device The device name.
#' @param Force Forces detachment if the previous detachment attempt did not occur
#' cleanly (for example, logging into an instance, unmounting the volume,
#' and detaching normally). This option can lead to data loss or a
#' corrupted file system. Use this option only as a last resort to detach a
#' volume from a failed instance. The instance won't have an opportunity to
#' flush file system caches or file system metadata. If you use this
#' option, you must perform file system check and repair procedures.
#' @param InstanceId The ID of the instance. If you are detaching a Multi-Attach enabled
#' volume, you must specify an instance ID.
#' @param VolumeId [required] The ID of the volume.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_detach_volume
ec2_detach_volume <- function(Device = NULL, Force = NULL, InstanceId = NULL, VolumeId, DryRun = NULL) {
op <- new_operation(
name = "DetachVolume",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$detach_volume_input(Device = Device, Force = Force, InstanceId = InstanceId, VolumeId = VolumeId, DryRun = DryRun)
output <- .ec2$detach_volume_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$detach_volume <- ec2_detach_volume
#' Detaches a virtual private gateway from a VPC
#'
#' @description
#' Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_detach_vpn_gateway/](https://www.paws-r-sdk.com/docs/ec2_detach_vpn_gateway/) for full documentation.
#'
#' @param VpcId [required] The ID of the VPC.
#' @param VpnGatewayId [required] The ID of the virtual private gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_detach_vpn_gateway
ec2_detach_vpn_gateway <- function(VpcId, VpnGatewayId, DryRun = NULL) {
op <- new_operation(
name = "DetachVpnGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$detach_vpn_gateway_input(VpcId = VpcId, VpnGatewayId = VpnGatewayId, DryRun = DryRun)
output <- .ec2$detach_vpn_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$detach_vpn_gateway <- ec2_detach_vpn_gateway
#' Disables Elastic IP address transfer
#'
#' @description
#' Disables Elastic IP address transfer. For more information, see [Transfer Elastic IP addresses](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro) in the *Amazon Virtual Private Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_address_transfer/](https://www.paws-r-sdk.com/docs/ec2_disable_address_transfer/) for full documentation.
#'
#' @param AllocationId [required] The allocation ID of an Elastic IP address.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_address_transfer
ec2_disable_address_transfer <- function(AllocationId, DryRun = NULL) {
op <- new_operation(
name = "DisableAddressTransfer",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_address_transfer_input(AllocationId = AllocationId, DryRun = DryRun)
output <- .ec2$disable_address_transfer_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_address_transfer <- ec2_disable_address_transfer
#' Disables Infrastructure Performance metric subscriptions
#'
#' @description
#' Disables Infrastructure Performance metric subscriptions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_aws_network_performance_metric_subscription/](https://www.paws-r-sdk.com/docs/ec2_disable_aws_network_performance_metric_subscription/) for full documentation.
#'
#' @param Source The source Region or Availability Zone that the metric subscription is
#' disabled for. For example, `us-east-1`.
#' @param Destination The target Region or Availability Zone that the metric subscription is
#' disabled for. For example, `eu-north-1`.
#' @param Metric The metric used for the disabled subscription.
#' @param Statistic The statistic used for the disabled subscription.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_aws_network_performance_metric_subscription
ec2_disable_aws_network_performance_metric_subscription <- function(Source = NULL, Destination = NULL, Metric = NULL, Statistic = NULL, DryRun = NULL) {
op <- new_operation(
name = "DisableAwsNetworkPerformanceMetricSubscription",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_aws_network_performance_metric_subscription_input(Source = Source, Destination = Destination, Metric = Metric, Statistic = Statistic, DryRun = DryRun)
output <- .ec2$disable_aws_network_performance_metric_subscription_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_aws_network_performance_metric_subscription <- ec2_disable_aws_network_performance_metric_subscription
#' Disables EBS encryption by default for your account in the current
#' Region
#'
#' @description
#' Disables EBS encryption by default for your account in the current Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_ebs_encryption_by_default/](https://www.paws-r-sdk.com/docs/ec2_disable_ebs_encryption_by_default/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_ebs_encryption_by_default
ec2_disable_ebs_encryption_by_default <- function(DryRun = NULL) {
op <- new_operation(
name = "DisableEbsEncryptionByDefault",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_ebs_encryption_by_default_input(DryRun = DryRun)
output <- .ec2$disable_ebs_encryption_by_default_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_ebs_encryption_by_default <- ec2_disable_ebs_encryption_by_default
#' Discontinue Windows fast launch for a Windows AMI, and clean up existing
#' pre-provisioned snapshots
#'
#' @description
#' Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_fast_launch/](https://www.paws-r-sdk.com/docs/ec2_disable_fast_launch/) for full documentation.
#'
#' @param ImageId [required] Specify the ID of the image for which to disable Windows fast launch.
#' @param Force Forces the image settings to turn off Windows fast launch for your
#' Windows AMI. This parameter overrides any errors that are encountered
#' while cleaning up resources in your account.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_fast_launch
ec2_disable_fast_launch <- function(ImageId, Force = NULL, DryRun = NULL) {
op <- new_operation(
name = "DisableFastLaunch",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_fast_launch_input(ImageId = ImageId, Force = Force, DryRun = DryRun)
output <- .ec2$disable_fast_launch_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_fast_launch <- ec2_disable_fast_launch
#' Disables fast snapshot restores for the specified snapshots in the
#' specified Availability Zones
#'
#' @description
#' Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_fast_snapshot_restores/](https://www.paws-r-sdk.com/docs/ec2_disable_fast_snapshot_restores/) for full documentation.
#'
#' @param AvailabilityZones [required] One or more Availability Zones. For example, `us-east-2a`.
#' @param SourceSnapshotIds [required] The IDs of one or more snapshots. For example, `snap-1234567890abcdef0`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_fast_snapshot_restores
ec2_disable_fast_snapshot_restores <- function(AvailabilityZones, SourceSnapshotIds, DryRun = NULL) {
op <- new_operation(
name = "DisableFastSnapshotRestores",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_fast_snapshot_restores_input(AvailabilityZones = AvailabilityZones, SourceSnapshotIds = SourceSnapshotIds, DryRun = DryRun)
output <- .ec2$disable_fast_snapshot_restores_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_fast_snapshot_restores <- ec2_disable_fast_snapshot_restores
#' Sets the AMI state to disabled and removes all launch permissions from
#' the AMI
#'
#' @description
#' Sets the AMI state to `disabled` and removes all launch permissions from the AMI. A disabled AMI can't be used for instance launches.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_image/](https://www.paws-r-sdk.com/docs/ec2_disable_image/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_image
ec2_disable_image <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "DisableImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_image_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$disable_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_image <- ec2_disable_image
#' Disables block public access for AMIs at the account level in the
#' specified Amazon Web Services Region
#'
#' @description
#' Disables *block public access for AMIs* at the account level in the specified Amazon Web Services Region. This removes the *block public access* restriction from your account. With the restriction removed, you can publicly share your AMIs in the specified Amazon Web Services Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_image_block_public_access/](https://www.paws-r-sdk.com/docs/ec2_disable_image_block_public_access/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_image_block_public_access
ec2_disable_image_block_public_access <- function(DryRun = NULL) {
op <- new_operation(
name = "DisableImageBlockPublicAccess",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_image_block_public_access_input(DryRun = DryRun)
output <- .ec2$disable_image_block_public_access_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_image_block_public_access <- ec2_disable_image_block_public_access
#' Cancels the deprecation of the specified AMI
#'
#' @description
#' Cancels the deprecation of the specified AMI.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_image_deprecation/](https://www.paws-r-sdk.com/docs/ec2_disable_image_deprecation/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_image_deprecation
ec2_disable_image_deprecation <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "DisableImageDeprecation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_image_deprecation_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$disable_image_deprecation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_image_deprecation <- ec2_disable_image_deprecation
#' Disables deregistration protection for an AMI
#'
#' @description
#' Disables deregistration protection for an AMI. When deregistration protection is disabled, the AMI can be deregistered.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_image_deregistration_protection/](https://www.paws-r-sdk.com/docs/ec2_disable_image_deregistration_protection/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_image_deregistration_protection
ec2_disable_image_deregistration_protection <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "DisableImageDeregistrationProtection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_image_deregistration_protection_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$disable_image_deregistration_protection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_image_deregistration_protection <- ec2_disable_image_deregistration_protection
#' Disable the IPAM account
#'
#' @description
#' Disable the IPAM account. For more information, see [Enable integration with Organizations](https://docs.aws.amazon.com/vpc/latest/ipam/enable-integ-ipam.html) in the *Amazon VPC IPAM User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_ipam_organization_admin_account/](https://www.paws-r-sdk.com/docs/ec2_disable_ipam_organization_admin_account/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param DelegatedAdminAccountId [required] The Organizations member account ID that you want to disable as IPAM
#' account.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_ipam_organization_admin_account
ec2_disable_ipam_organization_admin_account <- function(DryRun = NULL, DelegatedAdminAccountId) {
op <- new_operation(
name = "DisableIpamOrganizationAdminAccount",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_ipam_organization_admin_account_input(DryRun = DryRun, DelegatedAdminAccountId = DelegatedAdminAccountId)
output <- .ec2$disable_ipam_organization_admin_account_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_ipam_organization_admin_account <- ec2_disable_ipam_organization_admin_account
#' Disables access to the EC2 serial console of all instances for your
#' account
#'
#' @description
#' Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see [Manage account access to the EC2 serial console](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_serial_console_access/](https://www.paws-r-sdk.com/docs/ec2_disable_serial_console_access/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_serial_console_access
ec2_disable_serial_console_access <- function(DryRun = NULL) {
op <- new_operation(
name = "DisableSerialConsoleAccess",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_serial_console_access_input(DryRun = DryRun)
output <- .ec2$disable_serial_console_access_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_serial_console_access <- ec2_disable_serial_console_access
#' Disables the block public access for snapshots setting at the account
#' level for the specified Amazon Web Services Region
#'
#' @description
#' Disables the *block public access for snapshots* setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_snapshot_block_public_access/](https://www.paws-r-sdk.com/docs/ec2_disable_snapshot_block_public_access/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_snapshot_block_public_access
ec2_disable_snapshot_block_public_access <- function(DryRun = NULL) {
op <- new_operation(
name = "DisableSnapshotBlockPublicAccess",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_snapshot_block_public_access_input(DryRun = DryRun)
output <- .ec2$disable_snapshot_block_public_access_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_snapshot_block_public_access <- ec2_disable_snapshot_block_public_access
#' Disables the specified resource attachment from propagating routes to
#' the specified propagation route table
#'
#' @description
#' Disables the specified resource attachment from propagating routes to the specified propagation route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_transit_gateway_route_table_propagation/](https://www.paws-r-sdk.com/docs/ec2_disable_transit_gateway_route_table_propagation/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the propagation route table.
#' @param TransitGatewayAttachmentId The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TransitGatewayRouteTableAnnouncementId The ID of the route table announcement.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_transit_gateway_route_table_propagation
ec2_disable_transit_gateway_route_table_propagation <- function(TransitGatewayRouteTableId, TransitGatewayAttachmentId = NULL, DryRun = NULL, TransitGatewayRouteTableAnnouncementId = NULL) {
op <- new_operation(
name = "DisableTransitGatewayRouteTablePropagation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_transit_gateway_route_table_propagation_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun, TransitGatewayRouteTableAnnouncementId = TransitGatewayRouteTableAnnouncementId)
output <- .ec2$disable_transit_gateway_route_table_propagation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_transit_gateway_route_table_propagation <- ec2_disable_transit_gateway_route_table_propagation
#' Disables a virtual private gateway (VGW) from propagating routes to a
#' specified route table of a VPC
#'
#' @description
#' Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_vgw_route_propagation/](https://www.paws-r-sdk.com/docs/ec2_disable_vgw_route_propagation/) for full documentation.
#'
#' @param GatewayId [required] The ID of the virtual private gateway.
#' @param RouteTableId [required] The ID of the route table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_vgw_route_propagation
ec2_disable_vgw_route_propagation <- function(GatewayId, RouteTableId, DryRun = NULL) {
op <- new_operation(
name = "DisableVgwRoutePropagation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_vgw_route_propagation_input(GatewayId = GatewayId, RouteTableId = RouteTableId, DryRun = DryRun)
output <- .ec2$disable_vgw_route_propagation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_vgw_route_propagation <- ec2_disable_vgw_route_propagation
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_vpc_classic_link/](https://www.paws-r-sdk.com/docs/ec2_disable_vpc_classic_link/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcId [required] The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_vpc_classic_link
ec2_disable_vpc_classic_link <- function(DryRun = NULL, VpcId) {
op <- new_operation(
name = "DisableVpcClassicLink",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_vpc_classic_link_input(DryRun = DryRun, VpcId = VpcId)
output <- .ec2$disable_vpc_classic_link_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_vpc_classic_link <- ec2_disable_vpc_classic_link
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disable_vpc_classic_link_dns_support/](https://www.paws-r-sdk.com/docs/ec2_disable_vpc_classic_link_dns_support/) for full documentation.
#'
#' @param VpcId The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_disable_vpc_classic_link_dns_support
ec2_disable_vpc_classic_link_dns_support <- function(VpcId = NULL) {
op <- new_operation(
name = "DisableVpcClassicLinkDnsSupport",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disable_vpc_classic_link_dns_support_input(VpcId = VpcId)
output <- .ec2$disable_vpc_classic_link_dns_support_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disable_vpc_classic_link_dns_support <- ec2_disable_vpc_classic_link_dns_support
#' Disassociates an Elastic IP address from the instance or network
#' interface it's associated with
#'
#' @description
#' Disassociates an Elastic IP address from the instance or network interface it's associated with.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_address/](https://www.paws-r-sdk.com/docs/ec2_disassociate_address/) for full documentation.
#'
#' @param AssociationId The association ID. This parameter is required.
#' @param PublicIp Deprecated.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_address
ec2_disassociate_address <- function(AssociationId = NULL, PublicIp = NULL, DryRun = NULL) {
op <- new_operation(
name = "DisassociateAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_address_input(AssociationId = AssociationId, PublicIp = PublicIp, DryRun = DryRun)
output <- .ec2$disassociate_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_address <- ec2_disassociate_address
#' Disassociates a target network from the specified Client VPN endpoint
#'
#' @description
#' Disassociates a target network from the specified Client VPN endpoint. When you disassociate the last target network from a Client VPN, the following happens:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_client_vpn_target_network/](https://www.paws-r-sdk.com/docs/ec2_disassociate_client_vpn_target_network/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint from which to disassociate the target
#' network.
#' @param AssociationId [required] The ID of the target network association.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_client_vpn_target_network
ec2_disassociate_client_vpn_target_network <- function(ClientVpnEndpointId, AssociationId, DryRun = NULL) {
op <- new_operation(
name = "DisassociateClientVpnTargetNetwork",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_client_vpn_target_network_input(ClientVpnEndpointId = ClientVpnEndpointId, AssociationId = AssociationId, DryRun = DryRun)
output <- .ec2$disassociate_client_vpn_target_network_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_client_vpn_target_network <- ec2_disassociate_client_vpn_target_network
#' Disassociates an IAM role from an Certificate Manager (ACM) certificate
#'
#' @description
#' Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating an IAM role from an ACM certificate removes the Amazon S3 object that contains the certificate, certificate chain, and encrypted private key from the Amazon S3 bucket. It also revokes the IAM role's permission to use the KMS key used to encrypt the private key. This effectively revokes the role's permission to use the certificate.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_enclave_certificate_iam_role/](https://www.paws-r-sdk.com/docs/ec2_disassociate_enclave_certificate_iam_role/) for full documentation.
#'
#' @param CertificateArn [required] The ARN of the ACM certificate from which to disassociate the IAM role.
#' @param RoleArn [required] The ARN of the IAM role to disassociate.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_enclave_certificate_iam_role
ec2_disassociate_enclave_certificate_iam_role <- function(CertificateArn, RoleArn, DryRun = NULL) {
op <- new_operation(
name = "DisassociateEnclaveCertificateIamRole",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_enclave_certificate_iam_role_input(CertificateArn = CertificateArn, RoleArn = RoleArn, DryRun = DryRun)
output <- .ec2$disassociate_enclave_certificate_iam_role_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_enclave_certificate_iam_role <- ec2_disassociate_enclave_certificate_iam_role
#' Disassociates an IAM instance profile from a running or stopped instance
#'
#' @description
#' Disassociates an IAM instance profile from a running or stopped instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_iam_instance_profile/](https://www.paws-r-sdk.com/docs/ec2_disassociate_iam_instance_profile/) for full documentation.
#'
#' @param AssociationId [required] The ID of the IAM instance profile association.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_iam_instance_profile
ec2_disassociate_iam_instance_profile <- function(AssociationId) {
op <- new_operation(
name = "DisassociateIamInstanceProfile",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_iam_instance_profile_input(AssociationId = AssociationId)
output <- .ec2$disassociate_iam_instance_profile_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_iam_instance_profile <- ec2_disassociate_iam_instance_profile
#' Disassociates one or more targets from an event window
#'
#' @description
#' Disassociates one or more targets from an event window.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_instance_event_window/](https://www.paws-r-sdk.com/docs/ec2_disassociate_instance_event_window/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceEventWindowId [required] The ID of the event window.
#' @param AssociationTarget [required] One or more targets to disassociate from the specified event window.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_instance_event_window
ec2_disassociate_instance_event_window <- function(DryRun = NULL, InstanceEventWindowId, AssociationTarget) {
op <- new_operation(
name = "DisassociateInstanceEventWindow",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_instance_event_window_input(DryRun = DryRun, InstanceEventWindowId = InstanceEventWindowId, AssociationTarget = AssociationTarget)
output <- .ec2$disassociate_instance_event_window_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_instance_event_window <- ec2_disassociate_instance_event_window
#' Remove the association between your Autonomous System Number (ASN) and
#' your BYOIP CIDR
#'
#' @description
#' Remove the association between your Autonomous System Number (ASN) and your BYOIP CIDR. You may want to use this action to disassociate an ASN from a CIDR or if you want to swap ASNs. For more information, see [Tutorial: Bring your ASN to IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) in the *Amazon VPC IPAM guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_ipam_byoasn/](https://www.paws-r-sdk.com/docs/ec2_disassociate_ipam_byoasn/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Asn [required] A public 2-byte or 4-byte ASN.
#' @param Cidr [required] A BYOIP CIDR.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_ipam_byoasn
ec2_disassociate_ipam_byoasn <- function(DryRun = NULL, Asn, Cidr) {
op <- new_operation(
name = "DisassociateIpamByoasn",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_ipam_byoasn_input(DryRun = DryRun, Asn = Asn, Cidr = Cidr)
output <- .ec2$disassociate_ipam_byoasn_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_ipam_byoasn <- ec2_disassociate_ipam_byoasn
#' Disassociates a resource discovery from an Amazon VPC IPAM
#'
#' @description
#' Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_ipam_resource_discovery/](https://www.paws-r-sdk.com/docs/ec2_disassociate_ipam_resource_discovery/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryAssociationId [required] A resource discovery association ID.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_ipam_resource_discovery
ec2_disassociate_ipam_resource_discovery <- function(DryRun = NULL, IpamResourceDiscoveryAssociationId) {
op <- new_operation(
name = "DisassociateIpamResourceDiscovery",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_ipam_resource_discovery_input(DryRun = DryRun, IpamResourceDiscoveryAssociationId = IpamResourceDiscoveryAssociationId)
output <- .ec2$disassociate_ipam_resource_discovery_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_ipam_resource_discovery <- ec2_disassociate_ipam_resource_discovery
#' Disassociates secondary Elastic IP addresses (EIPs) from a public NAT
#' gateway
#'
#' @description
#' Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You cannot disassociate your primary EIP. For more information, see [Edit secondary IP address associations](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_nat_gateway_address/](https://www.paws-r-sdk.com/docs/ec2_disassociate_nat_gateway_address/) for full documentation.
#'
#' @param NatGatewayId [required] The ID of the NAT gateway.
#' @param AssociationIds [required] The association IDs of EIPs that have been associated with the NAT
#' gateway.
#' @param MaxDrainDurationSeconds The maximum amount of time to wait (in seconds) before forcibly
#' releasing the IP addresses if connections are still in progress. Default
#' value is 350 seconds.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_nat_gateway_address
ec2_disassociate_nat_gateway_address <- function(NatGatewayId, AssociationIds, MaxDrainDurationSeconds = NULL, DryRun = NULL) {
op <- new_operation(
name = "DisassociateNatGatewayAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_nat_gateway_address_input(NatGatewayId = NatGatewayId, AssociationIds = AssociationIds, MaxDrainDurationSeconds = MaxDrainDurationSeconds, DryRun = DryRun)
output <- .ec2$disassociate_nat_gateway_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_nat_gateway_address <- ec2_disassociate_nat_gateway_address
#' Disassociates a subnet or gateway from a route table
#'
#' @description
#' Disassociates a subnet or gateway from a route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_route_table/](https://www.paws-r-sdk.com/docs/ec2_disassociate_route_table/) for full documentation.
#'
#' @param AssociationId [required] The association ID representing the current association between the
#' route table and subnet or gateway.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_route_table
ec2_disassociate_route_table <- function(AssociationId, DryRun = NULL) {
op <- new_operation(
name = "DisassociateRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_route_table_input(AssociationId = AssociationId, DryRun = DryRun)
output <- .ec2$disassociate_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_route_table <- ec2_disassociate_route_table
#' Disassociates a CIDR block from a subnet
#'
#' @description
#' Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_subnet_cidr_block/](https://www.paws-r-sdk.com/docs/ec2_disassociate_subnet_cidr_block/) for full documentation.
#'
#' @param AssociationId [required] The association ID for the CIDR block.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_subnet_cidr_block
ec2_disassociate_subnet_cidr_block <- function(AssociationId) {
op <- new_operation(
name = "DisassociateSubnetCidrBlock",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_subnet_cidr_block_input(AssociationId = AssociationId)
output <- .ec2$disassociate_subnet_cidr_block_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_subnet_cidr_block <- ec2_disassociate_subnet_cidr_block
#' Disassociates the specified subnets from the transit gateway multicast
#' domain
#'
#' @description
#' Disassociates the specified subnets from the transit gateway multicast domain.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_transit_gateway_multicast_domain/](https://www.paws-r-sdk.com/docs/ec2_disassociate_transit_gateway_multicast_domain/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param SubnetIds [required] The IDs of the subnets;
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_transit_gateway_multicast_domain
ec2_disassociate_transit_gateway_multicast_domain <- function(TransitGatewayMulticastDomainId, TransitGatewayAttachmentId, SubnetIds, DryRun = NULL) {
op <- new_operation(
name = "DisassociateTransitGatewayMulticastDomain",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_transit_gateway_multicast_domain_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, SubnetIds = SubnetIds, DryRun = DryRun)
output <- .ec2$disassociate_transit_gateway_multicast_domain_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_transit_gateway_multicast_domain <- ec2_disassociate_transit_gateway_multicast_domain
#' Removes the association between an an attachment and a policy table
#'
#' @description
#' Removes the association between an an attachment and a policy table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_transit_gateway_policy_table/](https://www.paws-r-sdk.com/docs/ec2_disassociate_transit_gateway_policy_table/) for full documentation.
#'
#' @param TransitGatewayPolicyTableId [required] The ID of the disassociated policy table.
#' @param TransitGatewayAttachmentId [required] The ID of the transit gateway attachment to disassociate from the policy
#' table.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_transit_gateway_policy_table
ec2_disassociate_transit_gateway_policy_table <- function(TransitGatewayPolicyTableId, TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "DisassociateTransitGatewayPolicyTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_transit_gateway_policy_table_input(TransitGatewayPolicyTableId = TransitGatewayPolicyTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$disassociate_transit_gateway_policy_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_transit_gateway_policy_table <- ec2_disassociate_transit_gateway_policy_table
#' Disassociates a resource attachment from a transit gateway route table
#'
#' @description
#' Disassociates a resource attachment from a transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_transit_gateway_route_table/](https://www.paws-r-sdk.com/docs/ec2_disassociate_transit_gateway_route_table/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_transit_gateway_route_table
ec2_disassociate_transit_gateway_route_table <- function(TransitGatewayRouteTableId, TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "DisassociateTransitGatewayRouteTable",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_transit_gateway_route_table_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$disassociate_transit_gateway_route_table_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_transit_gateway_route_table <- ec2_disassociate_transit_gateway_route_table
#' Removes an association between a branch network interface with a trunk
#' network interface
#'
#' @description
#' Removes an association between a branch network interface with a trunk network interface.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_trunk_interface/](https://www.paws-r-sdk.com/docs/ec2_disassociate_trunk_interface/) for full documentation.
#'
#' @param AssociationId [required] The ID of the association
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to Ensure
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_trunk_interface
ec2_disassociate_trunk_interface <- function(AssociationId, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "DisassociateTrunkInterface",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_trunk_interface_input(AssociationId = AssociationId, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$disassociate_trunk_interface_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_trunk_interface <- ec2_disassociate_trunk_interface
#' Disassociates a CIDR block from a VPC
#'
#' @description
#' Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using [`describe_vpcs`][ec2_describe_vpcs]. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_disassociate_vpc_cidr_block/](https://www.paws-r-sdk.com/docs/ec2_disassociate_vpc_cidr_block/) for full documentation.
#'
#' @param AssociationId [required] The association ID for the CIDR block.
#'
#' @keywords internal
#'
#' @rdname ec2_disassociate_vpc_cidr_block
ec2_disassociate_vpc_cidr_block <- function(AssociationId) {
op <- new_operation(
name = "DisassociateVpcCidrBlock",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$disassociate_vpc_cidr_block_input(AssociationId = AssociationId)
output <- .ec2$disassociate_vpc_cidr_block_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$disassociate_vpc_cidr_block <- ec2_disassociate_vpc_cidr_block
#' Enables Elastic IP address transfer
#'
#' @description
#' Enables Elastic IP address transfer. For more information, see [Transfer Elastic IP addresses](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro) in the *Amazon Virtual Private Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_address_transfer/](https://www.paws-r-sdk.com/docs/ec2_enable_address_transfer/) for full documentation.
#'
#' @param AllocationId [required] The allocation ID of an Elastic IP address.
#' @param TransferAccountId [required] The ID of the account that you want to transfer the Elastic IP address
#' to.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_address_transfer
ec2_enable_address_transfer <- function(AllocationId, TransferAccountId, DryRun = NULL) {
op <- new_operation(
name = "EnableAddressTransfer",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_address_transfer_input(AllocationId = AllocationId, TransferAccountId = TransferAccountId, DryRun = DryRun)
output <- .ec2$enable_address_transfer_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_address_transfer <- ec2_enable_address_transfer
#' Enables Infrastructure Performance subscriptions
#'
#' @description
#' Enables Infrastructure Performance subscriptions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_aws_network_performance_metric_subscription/](https://www.paws-r-sdk.com/docs/ec2_enable_aws_network_performance_metric_subscription/) for full documentation.
#'
#' @param Source The source Region (like `us-east-1`) or Availability Zone ID (like
#' `use1-az1`) that the metric subscription is enabled for. If you use
#' Availability Zone IDs, the Source and Destination Availability Zones
#' must be in the same Region.
#' @param Destination The target Region (like `us-east-2`) or Availability Zone ID (like
#' `use2-az2`) that the metric subscription is enabled for. If you use
#' Availability Zone IDs, the Source and Destination Availability Zones
#' must be in the same Region.
#' @param Metric The metric used for the enabled subscription.
#' @param Statistic The statistic used for the enabled subscription.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_aws_network_performance_metric_subscription
ec2_enable_aws_network_performance_metric_subscription <- function(Source = NULL, Destination = NULL, Metric = NULL, Statistic = NULL, DryRun = NULL) {
op <- new_operation(
name = "EnableAwsNetworkPerformanceMetricSubscription",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_aws_network_performance_metric_subscription_input(Source = Source, Destination = Destination, Metric = Metric, Statistic = Statistic, DryRun = DryRun)
output <- .ec2$enable_aws_network_performance_metric_subscription_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_aws_network_performance_metric_subscription <- ec2_enable_aws_network_performance_metric_subscription
#' Enables EBS encryption by default for your account in the current Region
#'
#' @description
#' Enables EBS encryption by default for your account in the current Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_ebs_encryption_by_default/](https://www.paws-r-sdk.com/docs/ec2_enable_ebs_encryption_by_default/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_ebs_encryption_by_default
ec2_enable_ebs_encryption_by_default <- function(DryRun = NULL) {
op <- new_operation(
name = "EnableEbsEncryptionByDefault",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_ebs_encryption_by_default_input(DryRun = DryRun)
output <- .ec2$enable_ebs_encryption_by_default_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_ebs_encryption_by_default <- ec2_enable_ebs_encryption_by_default
#' When you enable Windows fast launch for a Windows AMI, images are
#' pre-provisioned, using snapshots to launch instances up to 65% faster
#'
#' @description
#' When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_fast_launch/](https://www.paws-r-sdk.com/docs/ec2_enable_fast_launch/) for full documentation.
#'
#' @param ImageId [required] Specify the ID of the image for which to enable Windows fast launch.
#' @param ResourceType The type of resource to use for pre-provisioning the AMI for Windows
#' fast launch. Supported values include: `snapshot`, which is the default
#' value.
#' @param SnapshotConfiguration Configuration settings for creating and managing the snapshots that are
#' used for pre-provisioning the AMI for Windows fast launch. The
#' associated `ResourceType` must be `snapshot`.
#' @param LaunchTemplate The launch template to use when launching Windows instances from
#' pre-provisioned snapshots. Launch template parameters can include either
#' the name or ID of the launch template, but not both.
#' @param MaxParallelLaunches The maximum number of instances that Amazon EC2 can launch at the same
#' time to create pre-provisioned snapshots for Windows fast launch. Value
#' must be `6` or greater.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_fast_launch
ec2_enable_fast_launch <- function(ImageId, ResourceType = NULL, SnapshotConfiguration = NULL, LaunchTemplate = NULL, MaxParallelLaunches = NULL, DryRun = NULL) {
op <- new_operation(
name = "EnableFastLaunch",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_fast_launch_input(ImageId = ImageId, ResourceType = ResourceType, SnapshotConfiguration = SnapshotConfiguration, LaunchTemplate = LaunchTemplate, MaxParallelLaunches = MaxParallelLaunches, DryRun = DryRun)
output <- .ec2$enable_fast_launch_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_fast_launch <- ec2_enable_fast_launch
#' Enables fast snapshot restores for the specified snapshots in the
#' specified Availability Zones
#'
#' @description
#' Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_fast_snapshot_restores/](https://www.paws-r-sdk.com/docs/ec2_enable_fast_snapshot_restores/) for full documentation.
#'
#' @param AvailabilityZones [required] One or more Availability Zones. For example, `us-east-2a`.
#' @param SourceSnapshotIds [required] The IDs of one or more snapshots. For example, `snap-1234567890abcdef0`.
#' You can specify a snapshot that was shared with you from another Amazon
#' Web Services account.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_fast_snapshot_restores
ec2_enable_fast_snapshot_restores <- function(AvailabilityZones, SourceSnapshotIds, DryRun = NULL) {
op <- new_operation(
name = "EnableFastSnapshotRestores",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_fast_snapshot_restores_input(AvailabilityZones = AvailabilityZones, SourceSnapshotIds = SourceSnapshotIds, DryRun = DryRun)
output <- .ec2$enable_fast_snapshot_restores_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_fast_snapshot_restores <- ec2_enable_fast_snapshot_restores
#' Re-enables a disabled AMI
#'
#' @description
#' Re-enables a disabled AMI. The re-enabled AMI is marked as `available` and can be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once the AMI is available, it can be shared with them again.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_image/](https://www.paws-r-sdk.com/docs/ec2_enable_image/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_image
ec2_enable_image <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "EnableImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_image_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$enable_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_image <- ec2_enable_image
#' Enables block public access for AMIs at the account level in the
#' specified Amazon Web Services Region
#'
#' @description
#' Enables *block public access for AMIs* at the account level in the specified Amazon Web Services Region. This prevents the public sharing of your AMIs. However, if you already have public AMIs, they will remain publicly available.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_image_block_public_access/](https://www.paws-r-sdk.com/docs/ec2_enable_image_block_public_access/) for full documentation.
#'
#' @param ImageBlockPublicAccessState [required] Specify `block-new-sharing` to enable block public access for AMIs at
#' the account level in the specified Region. This will block any attempt
#' to publicly share your AMIs in the specified Region.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_image_block_public_access
ec2_enable_image_block_public_access <- function(ImageBlockPublicAccessState, DryRun = NULL) {
op <- new_operation(
name = "EnableImageBlockPublicAccess",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_image_block_public_access_input(ImageBlockPublicAccessState = ImageBlockPublicAccessState, DryRun = DryRun)
output <- .ec2$enable_image_block_public_access_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_image_block_public_access <- ec2_enable_image_block_public_access
#' Enables deprecation of the specified AMI at the specified date and time
#'
#' @description
#' Enables deprecation of the specified AMI at the specified date and time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_image_deprecation/](https://www.paws-r-sdk.com/docs/ec2_enable_image_deprecation/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param DeprecateAt [required] The date and time to deprecate the AMI, in UTC, in the following format:
#' *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. If you specify a value for seconds,
#' Amazon EC2 rounds the seconds to the nearest minute.
#'
#' You can’t specify a date in the past. The upper limit for `DeprecateAt`
#' is 10 years from now, except for public AMIs, where the upper limit is 2
#' years from the creation date.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_image_deprecation
ec2_enable_image_deprecation <- function(ImageId, DeprecateAt, DryRun = NULL) {
op <- new_operation(
name = "EnableImageDeprecation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_image_deprecation_input(ImageId = ImageId, DeprecateAt = DeprecateAt, DryRun = DryRun)
output <- .ec2$enable_image_deprecation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_image_deprecation <- ec2_enable_image_deprecation
#' Enables deregistration protection for an AMI
#'
#' @description
#' Enables deregistration protection for an AMI. When deregistration protection is enabled, the AMI can't be deregistered.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_image_deregistration_protection/](https://www.paws-r-sdk.com/docs/ec2_enable_image_deregistration_protection/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI.
#' @param WithCooldown If `true`, enforces deregistration protection for 24 hours after
#' deregistration protection is disabled.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_image_deregistration_protection
ec2_enable_image_deregistration_protection <- function(ImageId, WithCooldown = NULL, DryRun = NULL) {
op <- new_operation(
name = "EnableImageDeregistrationProtection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_image_deregistration_protection_input(ImageId = ImageId, WithCooldown = WithCooldown, DryRun = DryRun)
output <- .ec2$enable_image_deregistration_protection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_image_deregistration_protection <- ec2_enable_image_deregistration_protection
#' Enable an Organizations member account as the IPAM admin account
#'
#' @description
#' Enable an Organizations member account as the IPAM admin account. You cannot select the Organizations management account as the IPAM admin account. For more information, see [Enable integration with Organizations](https://docs.aws.amazon.com/vpc/latest/ipam/enable-integ-ipam.html) in the *Amazon VPC IPAM User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_ipam_organization_admin_account/](https://www.paws-r-sdk.com/docs/ec2_enable_ipam_organization_admin_account/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param DelegatedAdminAccountId [required] The Organizations member account ID that you want to enable as the IPAM
#' account.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_ipam_organization_admin_account
ec2_enable_ipam_organization_admin_account <- function(DryRun = NULL, DelegatedAdminAccountId) {
op <- new_operation(
name = "EnableIpamOrganizationAdminAccount",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_ipam_organization_admin_account_input(DryRun = DryRun, DelegatedAdminAccountId = DelegatedAdminAccountId)
output <- .ec2$enable_ipam_organization_admin_account_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_ipam_organization_admin_account <- ec2_enable_ipam_organization_admin_account
#' Establishes a trust relationship between Reachability Analyzer and
#' Organizations
#'
#' @description
#' Establishes a trust relationship between Reachability Analyzer and Organizations. This operation must be performed by the management account for the organization.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_reachability_analyzer_organization_sharing/](https://www.paws-r-sdk.com/docs/ec2_enable_reachability_analyzer_organization_sharing/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_reachability_analyzer_organization_sharing
ec2_enable_reachability_analyzer_organization_sharing <- function(DryRun = NULL) {
op <- new_operation(
name = "EnableReachabilityAnalyzerOrganizationSharing",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_reachability_analyzer_organization_sharing_input(DryRun = DryRun)
output <- .ec2$enable_reachability_analyzer_organization_sharing_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_reachability_analyzer_organization_sharing <- ec2_enable_reachability_analyzer_organization_sharing
#' Enables access to the EC2 serial console of all instances for your
#' account
#'
#' @description
#' Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see [Manage account access to the EC2 serial console](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_serial_console_access/](https://www.paws-r-sdk.com/docs/ec2_enable_serial_console_access/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_serial_console_access
ec2_enable_serial_console_access <- function(DryRun = NULL) {
op <- new_operation(
name = "EnableSerialConsoleAccess",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_serial_console_access_input(DryRun = DryRun)
output <- .ec2$enable_serial_console_access_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_serial_console_access <- ec2_enable_serial_console_access
#' Enables or modifies the block public access for snapshots setting at the
#' account level for the specified Amazon Web Services Region
#'
#' @description
#' Enables or modifies the *block public access for snapshots* setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the **State** that you specify.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_snapshot_block_public_access/](https://www.paws-r-sdk.com/docs/ec2_enable_snapshot_block_public_access/) for full documentation.
#'
#' @param State [required] The mode in which to enable block public access for snapshots for the
#' Region. Specify one of the following values:
#'
#' - `block-all-sharing` - Prevents all public sharing of snapshots in
#' the Region. Users in the account will no longer be able to request
#' new public sharing. Additionally, snapshots that are already
#' publicly shared are treated as private and they are no longer
#' publicly available.
#'
#' If you enable block public access for snapshots in
#' `block-all-sharing` mode, it does not change the permissions for
#' snapshots that are already publicly shared. Instead, it prevents
#' these snapshots from be publicly visible and publicly accessible.
#' Therefore, the attributes for these snapshots still indicate that
#' they are publicly shared, even though they are not publicly
#' available.
#'
#' - `block-new-sharing` - Prevents only new public sharing of snapshots
#' in the Region. Users in the account will no longer be able to
#' request new public sharing. However, snapshots that are already
#' publicly shared, remain publicly available.
#'
#' `unblocked` is not a valid value for
#' **EnableSnapshotBlockPublicAccess**.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_snapshot_block_public_access
ec2_enable_snapshot_block_public_access <- function(State, DryRun = NULL) {
op <- new_operation(
name = "EnableSnapshotBlockPublicAccess",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_snapshot_block_public_access_input(State = State, DryRun = DryRun)
output <- .ec2$enable_snapshot_block_public_access_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_snapshot_block_public_access <- ec2_enable_snapshot_block_public_access
#' Enables the specified attachment to propagate routes to the specified
#' propagation route table
#'
#' @description
#' Enables the specified attachment to propagate routes to the specified propagation route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_transit_gateway_route_table_propagation/](https://www.paws-r-sdk.com/docs/ec2_enable_transit_gateway_route_table_propagation/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the propagation route table.
#' @param TransitGatewayAttachmentId The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TransitGatewayRouteTableAnnouncementId The ID of the transit gateway route table announcement.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_transit_gateway_route_table_propagation
ec2_enable_transit_gateway_route_table_propagation <- function(TransitGatewayRouteTableId, TransitGatewayAttachmentId = NULL, DryRun = NULL, TransitGatewayRouteTableAnnouncementId = NULL) {
op <- new_operation(
name = "EnableTransitGatewayRouteTablePropagation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_transit_gateway_route_table_propagation_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun, TransitGatewayRouteTableAnnouncementId = TransitGatewayRouteTableAnnouncementId)
output <- .ec2$enable_transit_gateway_route_table_propagation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_transit_gateway_route_table_propagation <- ec2_enable_transit_gateway_route_table_propagation
#' Enables a virtual private gateway (VGW) to propagate routes to the
#' specified route table of a VPC
#'
#' @description
#' Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_vgw_route_propagation/](https://www.paws-r-sdk.com/docs/ec2_enable_vgw_route_propagation/) for full documentation.
#'
#' @param GatewayId [required] The ID of the virtual private gateway that is attached to a VPC. The
#' virtual private gateway must be attached to the same VPC that the
#' routing tables are associated with.
#' @param RouteTableId [required] The ID of the route table. The routing table must be associated with the
#' same VPC that the virtual private gateway is attached to.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_vgw_route_propagation
ec2_enable_vgw_route_propagation <- function(GatewayId, RouteTableId, DryRun = NULL) {
op <- new_operation(
name = "EnableVgwRoutePropagation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_vgw_route_propagation_input(GatewayId = GatewayId, RouteTableId = RouteTableId, DryRun = DryRun)
output <- .ec2$enable_vgw_route_propagation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_vgw_route_propagation <- ec2_enable_vgw_route_propagation
#' Enables I/O operations for a volume that had I/O operations disabled
#' because the data on the volume was potentially inconsistent
#'
#' @description
#' Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_volume_io/](https://www.paws-r-sdk.com/docs/ec2_enable_volume_io/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VolumeId [required] The ID of the volume.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_volume_io
ec2_enable_volume_io <- function(DryRun = NULL, VolumeId) {
op <- new_operation(
name = "EnableVolumeIO",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_volume_io_input(DryRun = DryRun, VolumeId = VolumeId)
output <- .ec2$enable_volume_io_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_volume_io <- ec2_enable_volume_io
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_vpc_classic_link/](https://www.paws-r-sdk.com/docs/ec2_enable_vpc_classic_link/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcId [required] The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_vpc_classic_link
ec2_enable_vpc_classic_link <- function(DryRun = NULL, VpcId) {
op <- new_operation(
name = "EnableVpcClassicLink",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_vpc_classic_link_input(DryRun = DryRun, VpcId = VpcId)
output <- .ec2$enable_vpc_classic_link_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_vpc_classic_link <- ec2_enable_vpc_classic_link
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_enable_vpc_classic_link_dns_support/](https://www.paws-r-sdk.com/docs/ec2_enable_vpc_classic_link_dns_support/) for full documentation.
#'
#' @param VpcId The ID of the VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_enable_vpc_classic_link_dns_support
ec2_enable_vpc_classic_link_dns_support <- function(VpcId = NULL) {
op <- new_operation(
name = "EnableVpcClassicLinkDnsSupport",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$enable_vpc_classic_link_dns_support_input(VpcId = VpcId)
output <- .ec2$enable_vpc_classic_link_dns_support_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$enable_vpc_classic_link_dns_support <- ec2_enable_vpc_classic_link_dns_support
#' Downloads the client certificate revocation list for the specified
#' Client VPN endpoint
#'
#' @description
#' Downloads the client certificate revocation list for the specified Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_export_client_vpn_client_certificate_revocation_list/](https://www.paws-r-sdk.com/docs/ec2_export_client_vpn_client_certificate_revocation_list/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_export_client_vpn_client_certificate_revocation_list
ec2_export_client_vpn_client_certificate_revocation_list <- function(ClientVpnEndpointId, DryRun = NULL) {
op <- new_operation(
name = "ExportClientVpnClientCertificateRevocationList",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$export_client_vpn_client_certificate_revocation_list_input(ClientVpnEndpointId = ClientVpnEndpointId, DryRun = DryRun)
output <- .ec2$export_client_vpn_client_certificate_revocation_list_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$export_client_vpn_client_certificate_revocation_list <- ec2_export_client_vpn_client_certificate_revocation_list
#' Downloads the contents of the Client VPN endpoint configuration file for
#' the specified Client VPN endpoint
#'
#' @description
#' Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint. The Client VPN endpoint configuration file includes the Client VPN endpoint and certificate information clients need to establish a connection with the Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_export_client_vpn_client_configuration/](https://www.paws-r-sdk.com/docs/ec2_export_client_vpn_client_configuration/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_export_client_vpn_client_configuration
ec2_export_client_vpn_client_configuration <- function(ClientVpnEndpointId, DryRun = NULL) {
op <- new_operation(
name = "ExportClientVpnClientConfiguration",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$export_client_vpn_client_configuration_input(ClientVpnEndpointId = ClientVpnEndpointId, DryRun = DryRun)
output <- .ec2$export_client_vpn_client_configuration_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$export_client_vpn_client_configuration <- ec2_export_client_vpn_client_configuration
#' Exports an Amazon Machine Image (AMI) to a VM file
#'
#' @description
#' Exports an Amazon Machine Image (AMI) to a VM file. For more information, see [Exporting a VM directly from an Amazon Machine Image (AMI)](https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html) in the *VM Import/Export User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_export_image/](https://www.paws-r-sdk.com/docs/ec2_export_image/) for full documentation.
#'
#' @param ClientToken Token to enable idempotency for export image requests.
#' @param Description A description of the image being exported. The maximum length is 255
#' characters.
#' @param DiskImageFormat [required] The disk image format.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ImageId [required] The ID of the image.
#' @param S3ExportLocation [required] The Amazon S3 bucket for the destination image. The destination bucket
#' must exist.
#' @param RoleName The name of the role that grants VM Import/Export permission to export
#' images to your Amazon S3 bucket. If this parameter is not specified, the
#' default role is named 'vmimport'.
#' @param TagSpecifications The tags to apply to the export image task during creation.
#'
#' @keywords internal
#'
#' @rdname ec2_export_image
ec2_export_image <- function(ClientToken = NULL, Description = NULL, DiskImageFormat, DryRun = NULL, ImageId, S3ExportLocation, RoleName = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "ExportImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$export_image_input(ClientToken = ClientToken, Description = Description, DiskImageFormat = DiskImageFormat, DryRun = DryRun, ImageId = ImageId, S3ExportLocation = S3ExportLocation, RoleName = RoleName, TagSpecifications = TagSpecifications)
output <- .ec2$export_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$export_image <- ec2_export_image
#' Exports routes from the specified transit gateway route table to the
#' specified S3 bucket
#'
#' @description
#' Exports routes from the specified transit gateway route table to the specified S3 bucket. By default, all routes are exported. Alternatively, you can filter by CIDR range.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_export_transit_gateway_routes/](https://www.paws-r-sdk.com/docs/ec2_export_transit_gateway_routes/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the route table.
#' @param Filters One or more filters. The possible values are:
#'
#' - `attachment.transit-gateway-attachment-id` - The id of the transit
#' gateway attachment.
#'
#' - `attachment.resource-id` - The resource id of the transit gateway
#' attachment.
#'
#' - `route-search.exact-match` - The exact match of the specified
#' filter.
#'
#' - `route-search.longest-prefix-match` - The longest prefix that
#' matches the route.
#'
#' - `route-search.subnet-of-match` - The routes with a subnet that match
#' the specified CIDR filter.
#'
#' - `route-search.supernet-of-match` - The routes with a CIDR that
#' encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
#' 10.0.1.0/31 routes in your route table and you specify
#' supernet-of-match as 10.0.1.0/30, then the result returns
#' 10.0.1.0/29.
#'
#' - `state` - The state of the route (`active` | `blackhole`).
#'
#' - `transit-gateway-route-destination-cidr-block` - The CIDR range.
#'
#' - `type` - The type of route (`propagated` | `static`).
#' @param S3Bucket [required] The name of the S3 bucket.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_export_transit_gateway_routes
ec2_export_transit_gateway_routes <- function(TransitGatewayRouteTableId, Filters = NULL, S3Bucket, DryRun = NULL) {
op <- new_operation(
name = "ExportTransitGatewayRoutes",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$export_transit_gateway_routes_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, Filters = Filters, S3Bucket = S3Bucket, DryRun = DryRun)
output <- .ec2$export_transit_gateway_routes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$export_transit_gateway_routes <- ec2_export_transit_gateway_routes
#' Returns the IAM roles that are associated with the specified ACM (ACM)
#' certificate
#'
#' @description
#' Returns the IAM roles that are associated with the specified ACM (ACM) certificate. It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored, and the ARN of the KMS key that's used to encrypt the private key.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_associated_enclave_certificate_iam_roles/](https://www.paws-r-sdk.com/docs/ec2_get_associated_enclave_certificate_iam_roles/) for full documentation.
#'
#' @param CertificateArn [required] The ARN of the ACM certificate for which to view the associated IAM
#' roles, encryption keys, and Amazon S3 object information.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_associated_enclave_certificate_iam_roles
ec2_get_associated_enclave_certificate_iam_roles <- function(CertificateArn, DryRun = NULL) {
op <- new_operation(
name = "GetAssociatedEnclaveCertificateIamRoles",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_associated_enclave_certificate_iam_roles_input(CertificateArn = CertificateArn, DryRun = DryRun)
output <- .ec2$get_associated_enclave_certificate_iam_roles_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_associated_enclave_certificate_iam_roles <- ec2_get_associated_enclave_certificate_iam_roles
#' Gets information about the IPv6 CIDR block associations for a specified
#' IPv6 address pool
#'
#' @description
#' Gets information about the IPv6 CIDR block associations for a specified IPv6 address pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_associated_ipv_6_pool_cidrs/](https://www.paws-r-sdk.com/docs/ec2_get_associated_ipv_6_pool_cidrs/) for full documentation.
#'
#' @param PoolId [required] The ID of the IPv6 address pool.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_associated_ipv_6_pool_cidrs
ec2_get_associated_ipv_6_pool_cidrs <- function(PoolId, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetAssociatedIpv6PoolCidrs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Ipv6CidrAssociations")
)
input <- .ec2$get_associated_ipv_6_pool_cidrs_input(PoolId = PoolId, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$get_associated_ipv_6_pool_cidrs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_associated_ipv_6_pool_cidrs <- ec2_get_associated_ipv_6_pool_cidrs
#' Gets network performance data
#'
#' @description
#' Gets network performance data.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_aws_network_performance_data/](https://www.paws-r-sdk.com/docs/ec2_get_aws_network_performance_data/) for full documentation.
#'
#' @param DataQueries A list of network performance data queries.
#' @param StartTime The starting time for the performance data request. The starting time
#' must be formatted as `yyyy-mm-ddThh:mm:ss`. For example,
#' `2022-06-10T12:00:00.000Z`.
#' @param EndTime The ending time for the performance data request. The end time must be
#' formatted as `yyyy-mm-ddThh:mm:ss`. For example,
#' `2022-06-12T12:00:00.000Z`.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_aws_network_performance_data
ec2_get_aws_network_performance_data <- function(DataQueries = NULL, StartTime = NULL, EndTime = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetAwsNetworkPerformanceData",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "DataResponses")
)
input <- .ec2$get_aws_network_performance_data_input(DataQueries = DataQueries, StartTime = StartTime, EndTime = EndTime, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_aws_network_performance_data_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_aws_network_performance_data <- ec2_get_aws_network_performance_data
#' Gets usage information about a Capacity Reservation
#'
#' @description
#' Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner and each Amazon Web Services account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only the Capacity Reservation owner's usage.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_capacity_reservation_usage/](https://www.paws-r-sdk.com/docs/ec2_get_capacity_reservation_usage/) for full documentation.
#'
#' @param CapacityReservationId [required] The ID of the Capacity Reservation.
#' @param NextToken The token to use to retrieve the next page of results.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_capacity_reservation_usage
ec2_get_capacity_reservation_usage <- function(CapacityReservationId, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetCapacityReservationUsage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_capacity_reservation_usage_input(CapacityReservationId = CapacityReservationId, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$get_capacity_reservation_usage_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_capacity_reservation_usage <- ec2_get_capacity_reservation_usage
#' Describes the allocations from the specified customer-owned address pool
#'
#' @description
#' Describes the allocations from the specified customer-owned address pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_coip_pool_usage/](https://www.paws-r-sdk.com/docs/ec2_get_coip_pool_usage/) for full documentation.
#'
#' @param PoolId [required] The ID of the address pool.
#' @param Filters One or more filters.
#'
#' - `coip-address-usage.allocation-id` - The allocation ID of the
#' address.
#'
#' - `coip-address-usage.aws-account-id` - The ID of the Amazon Web
#' Services account that is using the customer-owned IP address.
#'
#' - `coip-address-usage.aws-service` - The Amazon Web Services service
#' that is using the customer-owned IP address.
#'
#' - `coip-address-usage.co-ip` - The customer-owned IP address.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_coip_pool_usage
ec2_get_coip_pool_usage <- function(PoolId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetCoipPoolUsage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_coip_pool_usage_input(PoolId = PoolId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_coip_pool_usage_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_coip_pool_usage <- ec2_get_coip_pool_usage
#' Gets the console output for the specified instance
#'
#' @description
#' Gets the console output for the specified instance. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. For Windows instances, the instance console output includes the last three system event log errors.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_console_output/](https://www.paws-r-sdk.com/docs/ec2_get_console_output/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Latest When enabled, retrieves the latest console output for the instance.
#'
#' Default: disabled (`false`)
#'
#' @keywords internal
#'
#' @rdname ec2_get_console_output
ec2_get_console_output <- function(InstanceId, DryRun = NULL, Latest = NULL) {
op <- new_operation(
name = "GetConsoleOutput",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_console_output_input(InstanceId = InstanceId, DryRun = DryRun, Latest = Latest)
output <- .ec2$get_console_output_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_console_output <- ec2_get_console_output
#' Retrieve a JPG-format screenshot of a running instance to help with
#' troubleshooting
#'
#' @description
#' Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_console_screenshot/](https://www.paws-r-sdk.com/docs/ec2_get_console_screenshot/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#' @param WakeUp When set to `true`, acts as keystroke input and wakes up an instance
#' that's in standby or "sleep" mode.
#'
#' @keywords internal
#'
#' @rdname ec2_get_console_screenshot
ec2_get_console_screenshot <- function(DryRun = NULL, InstanceId, WakeUp = NULL) {
op <- new_operation(
name = "GetConsoleScreenshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_console_screenshot_input(DryRun = DryRun, InstanceId = InstanceId, WakeUp = WakeUp)
output <- .ec2$get_console_screenshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_console_screenshot <- ec2_get_console_screenshot
#' Describes the default credit option for CPU usage of a burstable
#' performance instance family
#'
#' @description
#' Describes the default credit option for CPU usage of a burstable performance instance family.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_default_credit_specification/](https://www.paws-r-sdk.com/docs/ec2_get_default_credit_specification/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceFamily [required] The instance family.
#'
#' @keywords internal
#'
#' @rdname ec2_get_default_credit_specification
ec2_get_default_credit_specification <- function(DryRun = NULL, InstanceFamily) {
op <- new_operation(
name = "GetDefaultCreditSpecification",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_default_credit_specification_input(DryRun = DryRun, InstanceFamily = InstanceFamily)
output <- .ec2$get_default_credit_specification_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_default_credit_specification <- ec2_get_default_credit_specification
#' Describes the default KMS key for EBS encryption by default for your
#' account in this Region
#'
#' @description
#' Describes the default KMS key for EBS encryption by default for your account in this Region. You can change the default KMS key for encryption by default using [`modify_ebs_default_kms_key_id`][ec2_modify_ebs_default_kms_key_id] or [`reset_ebs_default_kms_key_id`][ec2_reset_ebs_default_kms_key_id].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ebs_default_kms_key_id/](https://www.paws-r-sdk.com/docs/ec2_get_ebs_default_kms_key_id/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ebs_default_kms_key_id
ec2_get_ebs_default_kms_key_id <- function(DryRun = NULL) {
op <- new_operation(
name = "GetEbsDefaultKmsKeyId",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_ebs_default_kms_key_id_input(DryRun = DryRun)
output <- .ec2$get_ebs_default_kms_key_id_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ebs_default_kms_key_id <- ec2_get_ebs_default_kms_key_id
#' Describes whether EBS encryption by default is enabled for your account
#' in the current Region
#'
#' @description
#' Describes whether EBS encryption by default is enabled for your account in the current Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ebs_encryption_by_default/](https://www.paws-r-sdk.com/docs/ec2_get_ebs_encryption_by_default/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ebs_encryption_by_default
ec2_get_ebs_encryption_by_default <- function(DryRun = NULL) {
op <- new_operation(
name = "GetEbsEncryptionByDefault",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_ebs_encryption_by_default_input(DryRun = DryRun)
output <- .ec2$get_ebs_encryption_by_default_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ebs_encryption_by_default <- ec2_get_ebs_encryption_by_default
#' Generates a CloudFormation template that streamlines and automates the
#' integration of VPC flow logs with Amazon Athena
#'
#' @description
#' Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. Based on the information that you provide, we configure resources in the template to do the following:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_flow_logs_integration_template/](https://www.paws-r-sdk.com/docs/ec2_get_flow_logs_integration_template/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FlowLogId [required] The ID of the flow log.
#' @param ConfigDeliveryS3DestinationArn [required] To store the CloudFormation template in Amazon S3, specify the location
#' in Amazon S3.
#' @param IntegrateServices [required] Information about the service integration.
#'
#' @keywords internal
#'
#' @rdname ec2_get_flow_logs_integration_template
ec2_get_flow_logs_integration_template <- function(DryRun = NULL, FlowLogId, ConfigDeliveryS3DestinationArn, IntegrateServices) {
op <- new_operation(
name = "GetFlowLogsIntegrationTemplate",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_flow_logs_integration_template_input(DryRun = DryRun, FlowLogId = FlowLogId, ConfigDeliveryS3DestinationArn = ConfigDeliveryS3DestinationArn, IntegrateServices = IntegrateServices)
output <- .ec2$get_flow_logs_integration_template_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_flow_logs_integration_template <- ec2_get_flow_logs_integration_template
#' Lists the resource groups to which a Capacity Reservation has been added
#'
#' @description
#' Lists the resource groups to which a Capacity Reservation has been added.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_groups_for_capacity_reservation/](https://www.paws-r-sdk.com/docs/ec2_get_groups_for_capacity_reservation/) for full documentation.
#'
#' @param CapacityReservationId [required] The ID of the Capacity Reservation. If you specify a Capacity
#' Reservation that is shared with you, the operation returns only Capacity
#' Reservation groups that you own.
#' @param NextToken The token to use to retrieve the next page of results.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_groups_for_capacity_reservation
ec2_get_groups_for_capacity_reservation <- function(CapacityReservationId, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetGroupsForCapacityReservation",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "CapacityReservationGroups")
)
input <- .ec2$get_groups_for_capacity_reservation_input(CapacityReservationId = CapacityReservationId, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$get_groups_for_capacity_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_groups_for_capacity_reservation <- ec2_get_groups_for_capacity_reservation
#' Preview a reservation purchase with configurations that match those of
#' your Dedicated Host
#'
#' @description
#' Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_host_reservation_purchase_preview/](https://www.paws-r-sdk.com/docs/ec2_get_host_reservation_purchase_preview/) for full documentation.
#'
#' @param HostIdSet [required] The IDs of the Dedicated Hosts with which the reservation is associated.
#' @param OfferingId [required] The offering ID of the reservation.
#'
#' @keywords internal
#'
#' @rdname ec2_get_host_reservation_purchase_preview
ec2_get_host_reservation_purchase_preview <- function(HostIdSet, OfferingId) {
op <- new_operation(
name = "GetHostReservationPurchasePreview",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_host_reservation_purchase_preview_input(HostIdSet = HostIdSet, OfferingId = OfferingId)
output <- .ec2$get_host_reservation_purchase_preview_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_host_reservation_purchase_preview <- ec2_get_host_reservation_purchase_preview
#' Gets the current state of block public access for AMIs at the account
#' level in the specified Amazon Web Services Region
#'
#' @description
#' Gets the current state of *block public access for AMIs* at the account level in the specified Amazon Web Services Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_image_block_public_access_state/](https://www.paws-r-sdk.com/docs/ec2_get_image_block_public_access_state/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_image_block_public_access_state
ec2_get_image_block_public_access_state <- function(DryRun = NULL) {
op <- new_operation(
name = "GetImageBlockPublicAccessState",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_image_block_public_access_state_input(DryRun = DryRun)
output <- .ec2$get_image_block_public_access_state_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_image_block_public_access_state <- ec2_get_image_block_public_access_state
#' Gets the default instance metadata service (IMDS) settings that are set
#' at the account level in the specified Amazon Web Services Region
#'
#' @description
#' Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_instance_metadata_defaults/](https://www.paws-r-sdk.com/docs/ec2_get_instance_metadata_defaults/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_instance_metadata_defaults
ec2_get_instance_metadata_defaults <- function(DryRun = NULL) {
op <- new_operation(
name = "GetInstanceMetadataDefaults",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_instance_metadata_defaults_input(DryRun = DryRun)
output <- .ec2$get_instance_metadata_defaults_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_instance_metadata_defaults <- ec2_get_instance_metadata_defaults
#' Returns a list of instance types with the specified instance attributes
#'
#' @description
#' Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_instance_types_from_instance_requirements/](https://www.paws-r-sdk.com/docs/ec2_get_instance_types_from_instance_requirements/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ArchitectureTypes [required] The processor architecture type.
#' @param VirtualizationTypes [required] The virtualization type.
#' @param InstanceRequirements [required] The attributes required for the instance types.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_get_instance_types_from_instance_requirements
ec2_get_instance_types_from_instance_requirements <- function(DryRun = NULL, ArchitectureTypes, VirtualizationTypes, InstanceRequirements, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetInstanceTypesFromInstanceRequirements",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "InstanceTypes")
)
input <- .ec2$get_instance_types_from_instance_requirements_input(DryRun = DryRun, ArchitectureTypes = ArchitectureTypes, VirtualizationTypes = VirtualizationTypes, InstanceRequirements = InstanceRequirements, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_instance_types_from_instance_requirements_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_instance_types_from_instance_requirements <- ec2_get_instance_types_from_instance_requirements
#' A binary representation of the UEFI variable store
#'
#' @description
#' A binary representation of the UEFI variable store. Only non-volatile variables are stored. This is a base64 encoded and zlib compressed binary value that must be properly encoded.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_instance_uefi_data/](https://www.paws-r-sdk.com/docs/ec2_get_instance_uefi_data/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance from which to retrieve the UEFI data.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_instance_uefi_data
ec2_get_instance_uefi_data <- function(InstanceId, DryRun = NULL) {
op <- new_operation(
name = "GetInstanceUefiData",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_instance_uefi_data_input(InstanceId = InstanceId, DryRun = DryRun)
output <- .ec2$get_instance_uefi_data_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_instance_uefi_data <- ec2_get_instance_uefi_data
#' Retrieve historical information about a CIDR within an IPAM scope
#'
#' @description
#' Retrieve historical information about a CIDR within an IPAM scope. For more information, see [View the history of IP addresses](https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html) in the *Amazon VPC IPAM User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_address_history/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_address_history/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Cidr [required] The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP
#' address range. If you enter a /16 IPv4 CIDR, you will get records that
#' match it exactly. You will not get records for any subnets within the
#' /16 CIDR.
#' @param IpamScopeId [required] The ID of the IPAM scope that the CIDR is in.
#' @param VpcId The ID of the VPC you want your history records filtered by.
#' @param StartTime The start of the time period for which you are looking for history. If
#' you omit this option, it will default to the value of EndTime.
#' @param EndTime The end of the time period for which you are looking for history. If you
#' omit this option, it will default to the current time.
#' @param MaxResults The maximum number of historical results you would like returned per
#' page. Defaults to 100.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_address_history
ec2_get_ipam_address_history <- function(DryRun = NULL, Cidr, IpamScopeId, VpcId = NULL, StartTime = NULL, EndTime = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetIpamAddressHistory",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "HistoryRecords")
)
input <- .ec2$get_ipam_address_history_input(DryRun = DryRun, Cidr = Cidr, IpamScopeId = IpamScopeId, VpcId = VpcId, StartTime = StartTime, EndTime = EndTime, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_ipam_address_history_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_address_history <- ec2_get_ipam_address_history
#' Gets IPAM discovered accounts
#'
#' @description
#' Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_discovered_accounts/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_discovered_accounts/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryId [required] A resource discovery ID.
#' @param DiscoveryRegion [required] The Amazon Web Services Region that the account information is returned
#' from.
#' @param Filters Discovered account filters.
#' @param NextToken Specify the pagination token from a previous request to retrieve the
#' next page of results.
#' @param MaxResults The maximum number of discovered accounts to return in one page of
#' results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_discovered_accounts
ec2_get_ipam_discovered_accounts <- function(DryRun = NULL, IpamResourceDiscoveryId, DiscoveryRegion, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "GetIpamDiscoveredAccounts",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamDiscoveredAccounts")
)
input <- .ec2$get_ipam_discovered_accounts_input(DryRun = DryRun, IpamResourceDiscoveryId = IpamResourceDiscoveryId, DiscoveryRegion = DiscoveryRegion, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$get_ipam_discovered_accounts_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_discovered_accounts <- ec2_get_ipam_discovered_accounts
#' Gets the public IP addresses that have been discovered by IPAM
#'
#' @description
#' Gets the public IP addresses that have been discovered by IPAM.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_discovered_public_addresses/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_discovered_public_addresses/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryId [required] An IPAM resource discovery ID.
#' @param AddressRegion [required] The Amazon Web Services Region for the IP address.
#' @param Filters Filters.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of IPAM discovered public addresses to return in one
#' page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_discovered_public_addresses
ec2_get_ipam_discovered_public_addresses <- function(DryRun = NULL, IpamResourceDiscoveryId, AddressRegion, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "GetIpamDiscoveredPublicAddresses",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_ipam_discovered_public_addresses_input(DryRun = DryRun, IpamResourceDiscoveryId = IpamResourceDiscoveryId, AddressRegion = AddressRegion, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$get_ipam_discovered_public_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_discovered_public_addresses <- ec2_get_ipam_discovered_public_addresses
#' Returns the resource CIDRs that are monitored as part of a resource
#' discovery
#'
#' @description
#' Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_discovered_resource_cidrs/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_discovered_resource_cidrs/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryId [required] A resource discovery ID.
#' @param ResourceRegion [required] A resource Region.
#' @param Filters Filters.
#' @param NextToken Specify the pagination token from a previous request to retrieve the
#' next page of results.
#' @param MaxResults The maximum number of discovered resource CIDRs to return in one page of
#' results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_discovered_resource_cidrs
ec2_get_ipam_discovered_resource_cidrs <- function(DryRun = NULL, IpamResourceDiscoveryId, ResourceRegion, Filters = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "GetIpamDiscoveredResourceCidrs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamDiscoveredResourceCidrs")
)
input <- .ec2$get_ipam_discovered_resource_cidrs_input(DryRun = DryRun, IpamResourceDiscoveryId = IpamResourceDiscoveryId, ResourceRegion = ResourceRegion, Filters = Filters, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$get_ipam_discovered_resource_cidrs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_discovered_resource_cidrs <- ec2_get_ipam_discovered_resource_cidrs
#' Get a list of all the CIDR allocations in an IPAM pool
#'
#' @description
#' Get a list of all the CIDR allocations in an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_pool_allocations/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_pool_allocations/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool you want to see the allocations for.
#' @param IpamPoolAllocationId The ID of the allocation.
#' @param Filters One or more filters for the request. For more information about
#' filtering, see [Filtering CLI
#' output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html).
#' @param MaxResults The maximum number of results you would like returned per page.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_pool_allocations
ec2_get_ipam_pool_allocations <- function(DryRun = NULL, IpamPoolId, IpamPoolAllocationId = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetIpamPoolAllocations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamPoolAllocations")
)
input <- .ec2$get_ipam_pool_allocations_input(DryRun = DryRun, IpamPoolId = IpamPoolId, IpamPoolAllocationId = IpamPoolAllocationId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_ipam_pool_allocations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_pool_allocations <- ec2_get_ipam_pool_allocations
#' Get the CIDRs provisioned to an IPAM pool
#'
#' @description
#' Get the CIDRs provisioned to an IPAM pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_pool_cidrs/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_pool_cidrs/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool you want the CIDR for.
#' @param Filters One or more filters for the request. For more information about
#' filtering, see [Filtering CLI
#' output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html).
#' @param MaxResults The maximum number of results to return in the request.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_pool_cidrs
ec2_get_ipam_pool_cidrs <- function(DryRun = NULL, IpamPoolId, Filters = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetIpamPoolCidrs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamPoolCidrs")
)
input <- .ec2$get_ipam_pool_cidrs_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_ipam_pool_cidrs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_pool_cidrs <- ec2_get_ipam_pool_cidrs
#' Returns resource CIDRs managed by IPAM in a given scope
#'
#' @description
#' Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_ipam_resource_cidrs/](https://www.paws-r-sdk.com/docs/ec2_get_ipam_resource_cidrs/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Filters One or more filters for the request. For more information about
#' filtering, see [Filtering CLI
#' output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html).
#' @param MaxResults The maximum number of results to return in the request.
#' @param NextToken The token for the next page of results.
#' @param IpamScopeId [required] The ID of the scope that the resource is in.
#' @param IpamPoolId The ID of the IPAM pool that the resource is in.
#' @param ResourceId The ID of the resource.
#' @param ResourceType The resource type.
#' @param ResourceTag The resource tag.
#' @param ResourceOwner The ID of the Amazon Web Services account that owns the resource.
#'
#' @keywords internal
#'
#' @rdname ec2_get_ipam_resource_cidrs
ec2_get_ipam_resource_cidrs <- function(DryRun = NULL, Filters = NULL, MaxResults = NULL, NextToken = NULL, IpamScopeId, IpamPoolId = NULL, ResourceId = NULL, ResourceType = NULL, ResourceTag = NULL, ResourceOwner = NULL) {
op <- new_operation(
name = "GetIpamResourceCidrs",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "IpamResourceCidrs")
)
input <- .ec2$get_ipam_resource_cidrs_input(DryRun = DryRun, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, IpamScopeId = IpamScopeId, IpamPoolId = IpamPoolId, ResourceId = ResourceId, ResourceType = ResourceType, ResourceTag = ResourceTag, ResourceOwner = ResourceOwner)
output <- .ec2$get_ipam_resource_cidrs_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_ipam_resource_cidrs <- ec2_get_ipam_resource_cidrs
#' Retrieves the configuration data of the specified instance
#'
#' @description
#' Retrieves the configuration data of the specified instance. You can use this data to create a launch template.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_launch_template_data/](https://www.paws-r-sdk.com/docs/ec2_get_launch_template_data/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#'
#' @keywords internal
#'
#' @rdname ec2_get_launch_template_data
ec2_get_launch_template_data <- function(DryRun = NULL, InstanceId) {
op <- new_operation(
name = "GetLaunchTemplateData",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_launch_template_data_input(DryRun = DryRun, InstanceId = InstanceId)
output <- .ec2$get_launch_template_data_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_launch_template_data <- ec2_get_launch_template_data
#' Gets information about the resources that are associated with the
#' specified managed prefix list
#'
#' @description
#' Gets information about the resources that are associated with the specified managed prefix list.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_managed_prefix_list_associations/](https://www.paws-r-sdk.com/docs/ec2_get_managed_prefix_list_associations/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PrefixListId [required] The ID of the prefix list.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_managed_prefix_list_associations
ec2_get_managed_prefix_list_associations <- function(DryRun = NULL, PrefixListId, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetManagedPrefixListAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "PrefixListAssociations")
)
input <- .ec2$get_managed_prefix_list_associations_input(DryRun = DryRun, PrefixListId = PrefixListId, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_managed_prefix_list_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_managed_prefix_list_associations <- ec2_get_managed_prefix_list_associations
#' Gets information about the entries for a specified managed prefix list
#'
#' @description
#' Gets information about the entries for a specified managed prefix list.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_managed_prefix_list_entries/](https://www.paws-r-sdk.com/docs/ec2_get_managed_prefix_list_entries/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PrefixListId [required] The ID of the prefix list.
#' @param TargetVersion The version of the prefix list for which to return the entries. The
#' default is the current version.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname ec2_get_managed_prefix_list_entries
ec2_get_managed_prefix_list_entries <- function(DryRun = NULL, PrefixListId, TargetVersion = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetManagedPrefixListEntries",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Entries")
)
input <- .ec2$get_managed_prefix_list_entries_input(DryRun = DryRun, PrefixListId = PrefixListId, TargetVersion = TargetVersion, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_managed_prefix_list_entries_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_managed_prefix_list_entries <- ec2_get_managed_prefix_list_entries
#' Gets the findings for the specified Network Access Scope analysis
#'
#' @description
#' Gets the findings for the specified Network Access Scope analysis.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_network_insights_access_scope_analysis_findings/](https://www.paws-r-sdk.com/docs/ec2_get_network_insights_access_scope_analysis_findings/) for full documentation.
#'
#' @param NetworkInsightsAccessScopeAnalysisId [required] The ID of the Network Access Scope analysis.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_network_insights_access_scope_analysis_findings
ec2_get_network_insights_access_scope_analysis_findings <- function(NetworkInsightsAccessScopeAnalysisId, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetNetworkInsightsAccessScopeAnalysisFindings",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "AnalysisFindings")
)
input <- .ec2$get_network_insights_access_scope_analysis_findings_input(NetworkInsightsAccessScopeAnalysisId = NetworkInsightsAccessScopeAnalysisId, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_network_insights_access_scope_analysis_findings_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_network_insights_access_scope_analysis_findings <- ec2_get_network_insights_access_scope_analysis_findings
#' Gets the content for the specified Network Access Scope
#'
#' @description
#' Gets the content for the specified Network Access Scope.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_network_insights_access_scope_content/](https://www.paws-r-sdk.com/docs/ec2_get_network_insights_access_scope_content/) for full documentation.
#'
#' @param NetworkInsightsAccessScopeId [required] The ID of the Network Access Scope.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_network_insights_access_scope_content
ec2_get_network_insights_access_scope_content <- function(NetworkInsightsAccessScopeId, DryRun = NULL) {
op <- new_operation(
name = "GetNetworkInsightsAccessScopeContent",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_network_insights_access_scope_content_input(NetworkInsightsAccessScopeId = NetworkInsightsAccessScopeId, DryRun = DryRun)
output <- .ec2$get_network_insights_access_scope_content_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_network_insights_access_scope_content <- ec2_get_network_insights_access_scope_content
#' Retrieves the encrypted administrator password for a running Windows
#' instance
#'
#' @description
#' Retrieves the encrypted administrator password for a running Windows instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_password_data/](https://www.paws-r-sdk.com/docs/ec2_get_password_data/) for full documentation.
#'
#' @param InstanceId [required] The ID of the Windows instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_password_data
ec2_get_password_data <- function(InstanceId, DryRun = NULL) {
op <- new_operation(
name = "GetPasswordData",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_password_data_input(InstanceId = InstanceId, DryRun = DryRun)
output <- .ec2$get_password_data_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_password_data <- ec2_get_password_data
#' Returns a quote and exchange information for exchanging one or more
#' specified Convertible Reserved Instances for a new Convertible Reserved
#' Instance
#'
#' @description
#' Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use [`accept_reserved_instances_exchange_quote`][ec2_accept_reserved_instances_exchange_quote] to perform the exchange.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_reserved_instances_exchange_quote/](https://www.paws-r-sdk.com/docs/ec2_get_reserved_instances_exchange_quote/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ReservedInstanceIds [required] The IDs of the Convertible Reserved Instances to exchange.
#' @param TargetConfigurations The configuration of the target Convertible Reserved Instance to
#' exchange for your current Convertible Reserved Instances.
#'
#' @keywords internal
#'
#' @rdname ec2_get_reserved_instances_exchange_quote
ec2_get_reserved_instances_exchange_quote <- function(DryRun = NULL, ReservedInstanceIds, TargetConfigurations = NULL) {
op <- new_operation(
name = "GetReservedInstancesExchangeQuote",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_reserved_instances_exchange_quote_input(DryRun = DryRun, ReservedInstanceIds = ReservedInstanceIds, TargetConfigurations = TargetConfigurations)
output <- .ec2$get_reserved_instances_exchange_quote_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_reserved_instances_exchange_quote <- ec2_get_reserved_instances_exchange_quote
#' Gets security groups that can be associated by the Amazon Web Services
#' account making the request with network interfaces in the specified VPC
#'
#' @description
#' Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_security_groups_for_vpc/](https://www.paws-r-sdk.com/docs/ec2_get_security_groups_for_vpc/) for full documentation.
#'
#' @param VpcId [required] The VPC ID where the security group can be used.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param Filters The filters. If using multiple filters, the results include security
#' groups which match all filters.
#'
#' - `group-id`: The security group ID.
#'
#' - `description`: The security group's description.
#'
#' - `group-name`: The security group name.
#'
#' - `owner-id`: The security group owner ID.
#'
#' - `primary-vpc-id`: The VPC ID in which the security group was
#' created.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_security_groups_for_vpc
ec2_get_security_groups_for_vpc <- function(VpcId, NextToken = NULL, MaxResults = NULL, Filters = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetSecurityGroupsForVpc",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SecurityGroupForVpcs")
)
input <- .ec2$get_security_groups_for_vpc_input(VpcId = VpcId, NextToken = NextToken, MaxResults = MaxResults, Filters = Filters, DryRun = DryRun)
output <- .ec2$get_security_groups_for_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_security_groups_for_vpc <- ec2_get_security_groups_for_vpc
#' Retrieves the access status of your account to the EC2 serial console of
#' all instances
#'
#' @description
#' Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see [Manage account access to the EC2 serial console](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_serial_console_access_status/](https://www.paws-r-sdk.com/docs/ec2_get_serial_console_access_status/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_serial_console_access_status
ec2_get_serial_console_access_status <- function(DryRun = NULL) {
op <- new_operation(
name = "GetSerialConsoleAccessStatus",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_serial_console_access_status_input(DryRun = DryRun)
output <- .ec2$get_serial_console_access_status_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_serial_console_access_status <- ec2_get_serial_console_access_status
#' Gets the current state of block public access for snapshots setting for
#' the account and Region
#'
#' @description
#' Gets the current state of *block public access for snapshots* setting for the account and Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_snapshot_block_public_access_state/](https://www.paws-r-sdk.com/docs/ec2_get_snapshot_block_public_access_state/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_snapshot_block_public_access_state
ec2_get_snapshot_block_public_access_state <- function(DryRun = NULL) {
op <- new_operation(
name = "GetSnapshotBlockPublicAccessState",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_snapshot_block_public_access_state_input(DryRun = DryRun)
output <- .ec2$get_snapshot_block_public_access_state_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_snapshot_block_public_access_state <- ec2_get_snapshot_block_public_access_state
#' Calculates the Spot placement score for a Region or Availability Zone
#' based on the specified target capacity and compute requirements
#'
#' @description
#' Calculates the Spot placement score for a Region or Availability Zone based on the specified target capacity and compute requirements.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_spot_placement_scores/](https://www.paws-r-sdk.com/docs/ec2_get_spot_placement_scores/) for full documentation.
#'
#' @param InstanceTypes The instance types. We recommend that you specify at least three
#' instance types. If you specify one or two instance types, or specify
#' variations of a single instance type (for example, an `m3.xlarge` with
#' and without instance storage), the returned placement score will always
#' be low.
#'
#' If you specify `InstanceTypes`, you can't specify
#' `InstanceRequirementsWithMetadata`.
#' @param TargetCapacity [required] The target capacity.
#' @param TargetCapacityUnitType The unit for the target capacity.
#' @param SingleAvailabilityZone Specify `true` so that the response returns a list of scored
#' Availability Zones. Otherwise, the response returns a list of scored
#' Regions.
#'
#' A list of scored Availability Zones is useful if you want to launch all
#' of your Spot capacity into a single Availability Zone.
#' @param RegionNames The Regions used to narrow down the list of Regions to be scored. Enter
#' the Region code, for example, `us-east-1`.
#' @param InstanceRequirementsWithMetadata The attributes for the instance types. When you specify instance
#' attributes, Amazon EC2 will identify instance types with those
#' attributes.
#'
#' If you specify `InstanceRequirementsWithMetadata`, you can't specify
#' `InstanceTypes`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#'
#' @keywords internal
#'
#' @rdname ec2_get_spot_placement_scores
ec2_get_spot_placement_scores <- function(InstanceTypes = NULL, TargetCapacity, TargetCapacityUnitType = NULL, SingleAvailabilityZone = NULL, RegionNames = NULL, InstanceRequirementsWithMetadata = NULL, DryRun = NULL, MaxResults = NULL, NextToken = NULL) {
op <- new_operation(
name = "GetSpotPlacementScores",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "SpotPlacementScores")
)
input <- .ec2$get_spot_placement_scores_input(InstanceTypes = InstanceTypes, TargetCapacity = TargetCapacity, TargetCapacityUnitType = TargetCapacityUnitType, SingleAvailabilityZone = SingleAvailabilityZone, RegionNames = RegionNames, InstanceRequirementsWithMetadata = InstanceRequirementsWithMetadata, DryRun = DryRun, MaxResults = MaxResults, NextToken = NextToken)
output <- .ec2$get_spot_placement_scores_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_spot_placement_scores <- ec2_get_spot_placement_scores
#' Gets information about the subnet CIDR reservations
#'
#' @description
#' Gets information about the subnet CIDR reservations.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_subnet_cidr_reservations/](https://www.paws-r-sdk.com/docs/ec2_get_subnet_cidr_reservations/) for full documentation.
#'
#' @param Filters One or more filters.
#'
#' - `reservationType` - The type of reservation (`prefix` | `explicit`).
#'
#' - `subnet-id` - The ID of the subnet.
#'
#' - `tag`:\<key\> - The key/value combination of a tag assigned to the
#' resource. Use the tag key in the filter name and the tag value as
#' the filter value. For example, to find all resources that have a tag
#' with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
#' the filter name and `TeamA` for the filter value.
#'
#' - `tag-key` - The key of a tag assigned to the resource. Use this
#' filter to find all resources assigned a tag with a specific key,
#' regardless of the tag value.
#' @param SubnetId [required] The ID of the subnet.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NextToken The token for the next page of results.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#'
#' @keywords internal
#'
#' @rdname ec2_get_subnet_cidr_reservations
ec2_get_subnet_cidr_reservations <- function(Filters = NULL, SubnetId, DryRun = NULL, NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "GetSubnetCidrReservations",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_subnet_cidr_reservations_input(Filters = Filters, SubnetId = SubnetId, DryRun = DryRun, NextToken = NextToken, MaxResults = MaxResults)
output <- .ec2$get_subnet_cidr_reservations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_subnet_cidr_reservations <- ec2_get_subnet_cidr_reservations
#' Lists the route tables to which the specified resource attachment
#' propagates routes
#'
#' @description
#' Lists the route tables to which the specified resource attachment propagates routes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_attachment_propagations/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_attachment_propagations/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param Filters One or more filters. The possible values are:
#'
#' - `transit-gateway-route-table-id` - The ID of the transit gateway
#' route table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_attachment_propagations
ec2_get_transit_gateway_attachment_propagations <- function(TransitGatewayAttachmentId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayAttachmentPropagations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayAttachmentPropagations")
)
input <- .ec2$get_transit_gateway_attachment_propagations_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_attachment_propagations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_attachment_propagations <- ec2_get_transit_gateway_attachment_propagations
#' Gets information about the associations for the transit gateway
#' multicast domain
#'
#' @description
#' Gets information about the associations for the transit gateway multicast domain.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_multicast_domain_associations/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_multicast_domain_associations/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param Filters One or more filters. The possible values are:
#'
#' - `resource-id` - The ID of the resource.
#'
#' - `resource-type` - The type of resource. The valid value is: `vpc`.
#'
#' - `state` - The state of the subnet association. Valid values are
#' `associated` | `associating` | `disassociated` | `disassociating`.
#'
#' - `subnet-id` - The ID of the subnet.
#'
#' - `transit-gateway-attachment-id` - The id of the transit gateway
#' attachment.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_multicast_domain_associations
ec2_get_transit_gateway_multicast_domain_associations <- function(TransitGatewayMulticastDomainId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayMulticastDomainAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "MulticastDomainAssociations")
)
input <- .ec2$get_transit_gateway_multicast_domain_associations_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_multicast_domain_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_multicast_domain_associations <- ec2_get_transit_gateway_multicast_domain_associations
#' Gets a list of the transit gateway policy table associations
#'
#' @description
#' Gets a list of the transit gateway policy table associations.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_policy_table_associations/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_policy_table_associations/) for full documentation.
#'
#' @param TransitGatewayPolicyTableId [required] The ID of the transit gateway policy table.
#' @param Filters The filters associated with the transit gateway policy table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_policy_table_associations
ec2_get_transit_gateway_policy_table_associations <- function(TransitGatewayPolicyTableId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayPolicyTableAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Associations")
)
input <- .ec2$get_transit_gateway_policy_table_associations_input(TransitGatewayPolicyTableId = TransitGatewayPolicyTableId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_policy_table_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_policy_table_associations <- ec2_get_transit_gateway_policy_table_associations
#' Returns a list of transit gateway policy table entries
#'
#' @description
#' Returns a list of transit gateway policy table entries.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_policy_table_entries/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_policy_table_entries/) for full documentation.
#'
#' @param TransitGatewayPolicyTableId [required] The ID of the transit gateway policy table.
#' @param Filters The filters associated with the transit gateway policy table.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_policy_table_entries
ec2_get_transit_gateway_policy_table_entries <- function(TransitGatewayPolicyTableId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayPolicyTableEntries",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_transit_gateway_policy_table_entries_input(TransitGatewayPolicyTableId = TransitGatewayPolicyTableId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_policy_table_entries_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_policy_table_entries <- ec2_get_transit_gateway_policy_table_entries
#' Gets information about the prefix list references in a specified transit
#' gateway route table
#'
#' @description
#' Gets information about the prefix list references in a specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_prefix_list_references/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_prefix_list_references/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param Filters One or more filters. The possible values are:
#'
#' - `attachment.resource-id` - The ID of the resource for the
#' attachment.
#'
#' - `attachment.resource-type` - The type of resource for the
#' attachment. Valid values are `vpc` | `vpn` |
#' `direct-connect-gateway` | `peering`.
#'
#' - `attachment.transit-gateway-attachment-id` - The ID of the
#' attachment.
#'
#' - `is-blackhole` - Whether traffic matching the route is blocked
#' (`true` | `false`).
#'
#' - `prefix-list-id` - The ID of the prefix list.
#'
#' - `prefix-list-owner-id` - The ID of the owner of the prefix list.
#'
#' - `state` - The state of the prefix list reference (`pending` |
#' `available` | `modifying` | `deleting`).
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_prefix_list_references
ec2_get_transit_gateway_prefix_list_references <- function(TransitGatewayRouteTableId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayPrefixListReferences",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayPrefixListReferences")
)
input <- .ec2$get_transit_gateway_prefix_list_references_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_prefix_list_references_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_prefix_list_references <- ec2_get_transit_gateway_prefix_list_references
#' Gets information about the associations for the specified transit
#' gateway route table
#'
#' @description
#' Gets information about the associations for the specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_route_table_associations/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_route_table_associations/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param Filters One or more filters. The possible values are:
#'
#' - `resource-id` - The ID of the resource.
#'
#' - `resource-type` - The resource type. Valid values are `vpc` | `vpn`
#' | `direct-connect-gateway` | `peering` | `connect`.
#'
#' - `transit-gateway-attachment-id` - The ID of the attachment.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_route_table_associations
ec2_get_transit_gateway_route_table_associations <- function(TransitGatewayRouteTableId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayRouteTableAssociations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Associations")
)
input <- .ec2$get_transit_gateway_route_table_associations_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_route_table_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_route_table_associations <- ec2_get_transit_gateway_route_table_associations
#' Gets information about the route table propagations for the specified
#' transit gateway route table
#'
#' @description
#' Gets information about the route table propagations for the specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_route_table_propagations/](https://www.paws-r-sdk.com/docs/ec2_get_transit_gateway_route_table_propagations/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param Filters One or more filters. The possible values are:
#'
#' - `resource-id` - The ID of the resource.
#'
#' - `resource-type` - The resource type. Valid values are `vpc` | `vpn`
#' | `direct-connect-gateway` | `peering` | `connect`.
#'
#' - `transit-gateway-attachment-id` - The ID of the attachment.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_transit_gateway_route_table_propagations
ec2_get_transit_gateway_route_table_propagations <- function(TransitGatewayRouteTableId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetTransitGatewayRouteTablePropagations",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "TransitGatewayRouteTablePropagations")
)
input <- .ec2$get_transit_gateway_route_table_propagations_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_transit_gateway_route_table_propagations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_transit_gateway_route_table_propagations <- ec2_get_transit_gateway_route_table_propagations
#' Get the Verified Access policy associated with the endpoint
#'
#' @description
#' Get the Verified Access policy associated with the endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_verified_access_endpoint_policy/](https://www.paws-r-sdk.com/docs/ec2_get_verified_access_endpoint_policy/) for full documentation.
#'
#' @param VerifiedAccessEndpointId [required] The ID of the Verified Access endpoint.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_verified_access_endpoint_policy
ec2_get_verified_access_endpoint_policy <- function(VerifiedAccessEndpointId, DryRun = NULL) {
op <- new_operation(
name = "GetVerifiedAccessEndpointPolicy",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_verified_access_endpoint_policy_input(VerifiedAccessEndpointId = VerifiedAccessEndpointId, DryRun = DryRun)
output <- .ec2$get_verified_access_endpoint_policy_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_verified_access_endpoint_policy <- ec2_get_verified_access_endpoint_policy
#' Shows the contents of the Verified Access policy associated with the
#' group
#'
#' @description
#' Shows the contents of the Verified Access policy associated with the group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_verified_access_group_policy/](https://www.paws-r-sdk.com/docs/ec2_get_verified_access_group_policy/) for full documentation.
#'
#' @param VerifiedAccessGroupId [required] The ID of the Verified Access group.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_verified_access_group_policy
ec2_get_verified_access_group_policy <- function(VerifiedAccessGroupId, DryRun = NULL) {
op <- new_operation(
name = "GetVerifiedAccessGroupPolicy",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_verified_access_group_policy_input(VerifiedAccessGroupId = VerifiedAccessGroupId, DryRun = DryRun)
output <- .ec2$get_verified_access_group_policy_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_verified_access_group_policy <- ec2_get_verified_access_group_policy
#' Download an Amazon Web Services-provided sample configuration file to be
#' used with the customer gateway device specified for your Site-to-Site
#' VPN connection
#'
#' @description
#' Download an Amazon Web Services-provided sample configuration file to be used with the customer gateway device specified for your Site-to-Site VPN connection.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_vpn_connection_device_sample_configuration/](https://www.paws-r-sdk.com/docs/ec2_get_vpn_connection_device_sample_configuration/) for full documentation.
#'
#' @param VpnConnectionId [required] The `VpnConnectionId` specifies the Site-to-Site VPN connection used for
#' the sample configuration.
#' @param VpnConnectionDeviceTypeId [required] Device identifier provided by the
#' [`get_vpn_connection_device_types`][ec2_get_vpn_connection_device_types]
#' API.
#' @param InternetKeyExchangeVersion The IKE version to be used in the sample configuration file for your
#' customer gateway device. You can specify one of the following versions:
#' `ikev1` or `ikev2`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_vpn_connection_device_sample_configuration
ec2_get_vpn_connection_device_sample_configuration <- function(VpnConnectionId, VpnConnectionDeviceTypeId, InternetKeyExchangeVersion = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetVpnConnectionDeviceSampleConfiguration",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_vpn_connection_device_sample_configuration_input(VpnConnectionId = VpnConnectionId, VpnConnectionDeviceTypeId = VpnConnectionDeviceTypeId, InternetKeyExchangeVersion = InternetKeyExchangeVersion, DryRun = DryRun)
output <- .ec2$get_vpn_connection_device_sample_configuration_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_vpn_connection_device_sample_configuration <- ec2_get_vpn_connection_device_sample_configuration
#' Obtain a list of customer gateway devices for which sample configuration
#' files can be provided
#'
#' @description
#' Obtain a list of customer gateway devices for which sample configuration files can be provided. The request has no additional parameters. You can also see the list of device types with sample configuration files available under [Your customer gateway device](https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html) in the *Amazon Web Services Site-to-Site VPN User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_vpn_connection_device_types/](https://www.paws-r-sdk.com/docs/ec2_get_vpn_connection_device_types/) for full documentation.
#'
#' @param MaxResults The maximum number of results returned by
#' [`get_vpn_connection_device_types`][ec2_get_vpn_connection_device_types]
#' in paginated output. When this parameter is used,
#' [`get_vpn_connection_device_types`][ec2_get_vpn_connection_device_types]
#' only returns `MaxResults` results in a single page along with a
#' `NextToken` response element. The remaining results of the initial
#' request can be seen by sending another
#' [`get_vpn_connection_device_types`][ec2_get_vpn_connection_device_types]
#' request with the returned `NextToken` value. This value can be between
#' 200 and 1000. If this parameter is not used, then
#' [`get_vpn_connection_device_types`][ec2_get_vpn_connection_device_types]
#' returns all results.
#' @param NextToken The `NextToken` value returned from a previous paginated
#' [`get_vpn_connection_device_types`][ec2_get_vpn_connection_device_types]
#' request where `MaxResults` was used and the results exceeded the value
#' of that parameter. Pagination continues from the end of the previous
#' results that returned the `NextToken` value. This value is null when
#' there are no more results to return.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_vpn_connection_device_types
ec2_get_vpn_connection_device_types <- function(MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "GetVpnConnectionDeviceTypes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "VpnConnectionDeviceTypes")
)
input <- .ec2$get_vpn_connection_device_types_input(MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$get_vpn_connection_device_types_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_vpn_connection_device_types <- ec2_get_vpn_connection_device_types
#' Get details of available tunnel endpoint maintenance
#'
#' @description
#' Get details of available tunnel endpoint maintenance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_get_vpn_tunnel_replacement_status/](https://www.paws-r-sdk.com/docs/ec2_get_vpn_tunnel_replacement_status/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the Site-to-Site VPN connection.
#' @param VpnTunnelOutsideIpAddress [required] The external IP address of the VPN tunnel.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_get_vpn_tunnel_replacement_status
ec2_get_vpn_tunnel_replacement_status <- function(VpnConnectionId, VpnTunnelOutsideIpAddress, DryRun = NULL) {
op <- new_operation(
name = "GetVpnTunnelReplacementStatus",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$get_vpn_tunnel_replacement_status_input(VpnConnectionId = VpnConnectionId, VpnTunnelOutsideIpAddress = VpnTunnelOutsideIpAddress, DryRun = DryRun)
output <- .ec2$get_vpn_tunnel_replacement_status_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$get_vpn_tunnel_replacement_status <- ec2_get_vpn_tunnel_replacement_status
#' Uploads a client certificate revocation list to the specified Client VPN
#' endpoint
#'
#' @description
#' Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_import_client_vpn_client_certificate_revocation_list/](https://www.paws-r-sdk.com/docs/ec2_import_client_vpn_client_certificate_revocation_list/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint to which the client certificate
#' revocation list applies.
#' @param CertificateRevocationList [required] The client certificate revocation list file. For more information, see
#' [Generate a Client Certificate Revocation
#' List](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate)
#' in the *Client VPN Administrator Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_import_client_vpn_client_certificate_revocation_list
ec2_import_client_vpn_client_certificate_revocation_list <- function(ClientVpnEndpointId, CertificateRevocationList, DryRun = NULL) {
op <- new_operation(
name = "ImportClientVpnClientCertificateRevocationList",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$import_client_vpn_client_certificate_revocation_list_input(ClientVpnEndpointId = ClientVpnEndpointId, CertificateRevocationList = CertificateRevocationList, DryRun = DryRun)
output <- .ec2$import_client_vpn_client_certificate_revocation_list_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$import_client_vpn_client_certificate_revocation_list <- ec2_import_client_vpn_client_certificate_revocation_list
#' To import your virtual machines (VMs) with a console-based experience,
#' you can use the Import virtual machine images to Amazon Web Services
#' template in the Migration Hub Orchestrator console
#'
#' @description
#' To import your virtual machines (VMs) with a console-based experience, you can use the *Import virtual machine images to Amazon Web Services* template in the Migration Hub Orchestrator console. For more information, see the [*Migration Hub Orchestrator User Guide*](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/import-vm-images.html) .
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_import_image/](https://www.paws-r-sdk.com/docs/ec2_import_image/) for full documentation.
#'
#' @param Architecture The architecture of the virtual machine.
#'
#' Valid values: `i386` | `x86_64`
#' @param ClientData The client-specific data.
#' @param ClientToken The token to enable idempotency for VM import requests.
#' @param Description A description string for the import image task.
#' @param DiskContainers Information about the disk containers.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Encrypted Specifies whether the destination AMI of the imported image should be
#' encrypted. The default KMS key for EBS is used unless you specify a
#' non-default KMS key using `KmsKeyId`. For more information, see [Amazon
#' EBS
#' Encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html)
#' in the *Amazon Elastic Compute Cloud User Guide*.
#' @param Hypervisor The target hypervisor platform.
#'
#' Valid values: `xen`
#' @param KmsKeyId An identifier for the symmetric KMS key to use when creating the
#' encrypted AMI. This parameter is only required if you want to use a
#' non-default KMS key; if this parameter is not specified, the default KMS
#' key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag
#' must also be set.
#'
#' The KMS key identifier may be provided in any of the following formats:
#'
#' - Key ID
#'
#' - Key alias
#'
#' - ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
#' followed by the Region of the key, the Amazon Web Services account
#' ID of the key owner, the `key` namespace, and then the key ID. For
#' example,
#' arn:aws:kms:*us-east-1*:*012345678910*:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
#'
#' - ARN using key alias. The alias ARN contains the `arn:aws:kms`
#' namespace, followed by the Region of the key, the Amazon Web
#' Services account ID of the key owner, the `alias` namespace, and
#' then the key alias. For example,
#' arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*.
#'
#' Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the
#' action you call may appear to complete even though you provided an
#' invalid identifier. This action will eventually report failure.
#'
#' The specified KMS key must exist in the Region that the AMI is being
#' copied to.
#'
#' Amazon EBS does not support asymmetric KMS keys.
#' @param LicenseType The license type to be used for the Amazon Machine Image (AMI) after
#' importing.
#'
#' Specify `AWS` to replace the source-system license with an Amazon Web
#' Services license or `BYOL` to retain the source-system license. Leaving
#' this parameter undefined is the same as choosing `AWS` when importing a
#' Windows Server operating system, and the same as choosing `BYOL` when
#' importing a Windows client operating system (such as Windows 10) or a
#' Linux operating system.
#'
#' To use `BYOL`, you must have existing licenses with rights to use these
#' licenses in a third party cloud, such as Amazon Web Services. For more
#' information, see
#' [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image)
#' in the VM Import/Export User Guide.
#' @param Platform The operating system of the virtual machine. If you import a VM that is
#' compatible with Unified Extensible Firmware Interface (UEFI) using an
#' EBS snapshot, you must specify a value for the platform.
#'
#' Valid values: `Windows` | `Linux`
#' @param RoleName The name of the role to use when not using the default role, 'vmimport'.
#' @param LicenseSpecifications The ARNs of the license configurations.
#' @param TagSpecifications The tags to apply to the import image task during creation.
#' @param UsageOperation The usage operation value. For more information, see [Licensing
#' options](https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites)
#' in the *VM Import/Export User Guide*.
#' @param BootMode The boot mode of the virtual machine.
#'
#' The `uefi-preferred` boot mode isn't supported for importing images. For
#' more information, see [Boot
#' modes](https://docs.aws.amazon.com/vm-import/latest/userguide/prerequisites.html#vmimport-boot-modes)
#' in the *VM Import/Export User Guide*.
#'
#' @keywords internal
#'
#' @rdname ec2_import_image
ec2_import_image <- function(Architecture = NULL, ClientData = NULL, ClientToken = NULL, Description = NULL, DiskContainers = NULL, DryRun = NULL, Encrypted = NULL, Hypervisor = NULL, KmsKeyId = NULL, LicenseType = NULL, Platform = NULL, RoleName = NULL, LicenseSpecifications = NULL, TagSpecifications = NULL, UsageOperation = NULL, BootMode = NULL) {
op <- new_operation(
name = "ImportImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$import_image_input(Architecture = Architecture, ClientData = ClientData, ClientToken = ClientToken, Description = Description, DiskContainers = DiskContainers, DryRun = DryRun, Encrypted = Encrypted, Hypervisor = Hypervisor, KmsKeyId = KmsKeyId, LicenseType = LicenseType, Platform = Platform, RoleName = RoleName, LicenseSpecifications = LicenseSpecifications, TagSpecifications = TagSpecifications, UsageOperation = UsageOperation, BootMode = BootMode)
output <- .ec2$import_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$import_image <- ec2_import_image
#' We recommend that you use the ImportImage API
#'
#' @description
#' We recommend that you use the [`import_image`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html) API. For more information, see [Importing a VM as an image using VM Import/Export](https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html) in the *VM Import/Export User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_import_instance/](https://www.paws-r-sdk.com/docs/ec2_import_instance/) for full documentation.
#'
#' @param Description A description for the instance being imported.
#' @param DiskImages The disk image.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LaunchSpecification The launch specification.
#' @param Platform [required] The instance operating system.
#'
#' @keywords internal
#'
#' @rdname ec2_import_instance
ec2_import_instance <- function(Description = NULL, DiskImages = NULL, DryRun = NULL, LaunchSpecification = NULL, Platform) {
op <- new_operation(
name = "ImportInstance",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$import_instance_input(Description = Description, DiskImages = DiskImages, DryRun = DryRun, LaunchSpecification = LaunchSpecification, Platform = Platform)
output <- .ec2$import_instance_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$import_instance <- ec2_import_instance
#' Imports the public key from an RSA or ED25519 key pair that you created
#' with a third-party tool
#'
#' @description
#' Imports the public key from an RSA or ED25519 key pair that you created with a third-party tool. Compare this with [`create_key_pair`][ec2_create_key_pair], in which Amazon Web Services creates the key pair and gives the keys to you (Amazon Web Services keeps a copy of the public key). With ImportKeyPair, you create the key pair and give Amazon Web Services just the public key. The private key is never transferred between you and Amazon Web Services.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_import_key_pair/](https://www.paws-r-sdk.com/docs/ec2_import_key_pair/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param KeyName [required] A unique name for the key pair.
#' @param PublicKeyMaterial [required] The public key. For API calls, the text must be base64-encoded. For
#' command line tools, base64 encoding is performed for you.
#' @param TagSpecifications The tags to apply to the imported key pair.
#'
#' @keywords internal
#'
#' @rdname ec2_import_key_pair
ec2_import_key_pair <- function(DryRun = NULL, KeyName, PublicKeyMaterial, TagSpecifications = NULL) {
op <- new_operation(
name = "ImportKeyPair",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$import_key_pair_input(DryRun = DryRun, KeyName = KeyName, PublicKeyMaterial = PublicKeyMaterial, TagSpecifications = TagSpecifications)
output <- .ec2$import_key_pair_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$import_key_pair <- ec2_import_key_pair
#' Imports a disk into an EBS snapshot
#'
#' @description
#' Imports a disk into an EBS snapshot.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_import_snapshot/](https://www.paws-r-sdk.com/docs/ec2_import_snapshot/) for full documentation.
#'
#' @param ClientData The client-specific data.
#' @param ClientToken Token to enable idempotency for VM import requests.
#' @param Description The description string for the import snapshot task.
#' @param DiskContainer Information about the disk container.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Encrypted Specifies whether the destination snapshot of the imported image should
#' be encrypted. The default KMS key for EBS is used unless you specify a
#' non-default KMS key using `KmsKeyId`. For more information, see [Amazon
#' EBS
#' Encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html)
#' in the *Amazon Elastic Compute Cloud User Guide*.
#' @param KmsKeyId An identifier for the symmetric KMS key to use when creating the
#' encrypted snapshot. This parameter is only required if you want to use a
#' non-default KMS key; if this parameter is not specified, the default KMS
#' key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag
#' must also be set.
#'
#' The KMS key identifier may be provided in any of the following formats:
#'
#' - Key ID
#'
#' - Key alias
#'
#' - ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
#' followed by the Region of the key, the Amazon Web Services account
#' ID of the key owner, the `key` namespace, and then the key ID. For
#' example,
#' arn:aws:kms:*us-east-1*:*012345678910*:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
#'
#' - ARN using key alias. The alias ARN contains the `arn:aws:kms`
#' namespace, followed by the Region of the key, the Amazon Web
#' Services account ID of the key owner, the `alias` namespace, and
#' then the key alias. For example,
#' arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*.
#'
#' Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the
#' action you call may appear to complete even though you provided an
#' invalid identifier. This action will eventually report failure.
#'
#' The specified KMS key must exist in the Region that the snapshot is
#' being copied to.
#'
#' Amazon EBS does not support asymmetric KMS keys.
#' @param RoleName The name of the role to use when not using the default role, 'vmimport'.
#' @param TagSpecifications The tags to apply to the import snapshot task during creation.
#'
#' @keywords internal
#'
#' @rdname ec2_import_snapshot
ec2_import_snapshot <- function(ClientData = NULL, ClientToken = NULL, Description = NULL, DiskContainer = NULL, DryRun = NULL, Encrypted = NULL, KmsKeyId = NULL, RoleName = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "ImportSnapshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$import_snapshot_input(ClientData = ClientData, ClientToken = ClientToken, Description = Description, DiskContainer = DiskContainer, DryRun = DryRun, Encrypted = Encrypted, KmsKeyId = KmsKeyId, RoleName = RoleName, TagSpecifications = TagSpecifications)
output <- .ec2$import_snapshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$import_snapshot <- ec2_import_snapshot
#' Creates an import volume task using metadata from the specified disk
#' image
#'
#' @description
#' Creates an import volume task using metadata from the specified disk image.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_import_volume/](https://www.paws-r-sdk.com/docs/ec2_import_volume/) for full documentation.
#'
#' @param AvailabilityZone [required] The Availability Zone for the resulting EBS volume.
#' @param Description A description of the volume.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Image [required] The disk image.
#' @param Volume [required] The volume size.
#'
#' @keywords internal
#'
#' @rdname ec2_import_volume
ec2_import_volume <- function(AvailabilityZone, Description = NULL, DryRun = NULL, Image, Volume) {
op <- new_operation(
name = "ImportVolume",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$import_volume_input(AvailabilityZone = AvailabilityZone, Description = Description, DryRun = DryRun, Image = Image, Volume = Volume)
output <- .ec2$import_volume_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$import_volume <- ec2_import_volume
#' Lists one or more AMIs that are currently in the Recycle Bin
#'
#' @description
#' Lists one or more AMIs that are currently in the Recycle Bin. For more information, see [Recycle Bin](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_list_images_in_recycle_bin/](https://www.paws-r-sdk.com/docs/ec2_list_images_in_recycle_bin/) for full documentation.
#'
#' @param ImageIds The IDs of the AMIs to list. Omit this parameter to list all of the AMIs
#' that are in the Recycle Bin. You can specify up to 20 IDs in a single
#' request.
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_list_images_in_recycle_bin
ec2_list_images_in_recycle_bin <- function(ImageIds = NULL, NextToken = NULL, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "ListImagesInRecycleBin",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Images")
)
input <- .ec2$list_images_in_recycle_bin_input(ImageIds = ImageIds, NextToken = NextToken, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$list_images_in_recycle_bin_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$list_images_in_recycle_bin <- ec2_list_images_in_recycle_bin
#' Lists one or more snapshots that are currently in the Recycle Bin
#'
#' @description
#' Lists one or more snapshots that are currently in the Recycle Bin.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_list_snapshots_in_recycle_bin/](https://www.paws-r-sdk.com/docs/ec2_list_snapshots_in_recycle_bin/) for full documentation.
#'
#' @param MaxResults The maximum number of items to return for this request. To get the next
#' page of items, make another request with the token returned in the
#' output. For more information, see
#' [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
#' @param NextToken The token returned from a previous paginated request. Pagination
#' continues from the end of the items returned by the previous request.
#' @param SnapshotIds The IDs of the snapshots to list. Omit this parameter to list all of the
#' snapshots that are in the Recycle Bin.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_list_snapshots_in_recycle_bin
ec2_list_snapshots_in_recycle_bin <- function(MaxResults = NULL, NextToken = NULL, SnapshotIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "ListSnapshotsInRecycleBin",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Snapshots")
)
input <- .ec2$list_snapshots_in_recycle_bin_input(MaxResults = MaxResults, NextToken = NextToken, SnapshotIds = SnapshotIds, DryRun = DryRun)
output <- .ec2$list_snapshots_in_recycle_bin_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$list_snapshots_in_recycle_bin <- ec2_list_snapshots_in_recycle_bin
#' Locks an Amazon EBS snapshot in either governance or compliance mode to
#' protect it against accidental or malicious deletions for a specific
#' duration
#'
#' @description
#' Locks an Amazon EBS snapshot in either *governance* or *compliance* mode to protect it against accidental or malicious deletions for a specific duration. A locked snapshot can't be deleted.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_lock_snapshot/](https://www.paws-r-sdk.com/docs/ec2_lock_snapshot/) for full documentation.
#'
#' @param SnapshotId [required] The ID of the snapshot to lock.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LockMode [required] The mode in which to lock the snapshot. Specify one of the following:
#'
#' - `governance` - Locks the snapshot in governance mode. Snapshots
#' locked in governance mode can't be deleted until one of the
#' following conditions are met:
#'
#' - The lock duration expires.
#'
#' - The snapshot is unlocked by a user with the appropriate
#' permissions.
#'
#' Users with the appropriate IAM permissions can unlock the snapshot,
#' increase or decrease the lock duration, and change the lock mode to
#' `compliance` at any time.
#'
#' If you lock a snapshot in `governance` mode, omit **CoolOffPeriod**.
#'
#' - `compliance` - Locks the snapshot in compliance mode. Snapshots
#' locked in compliance mode can't be unlocked by any user. They can be
#' deleted only after the lock duration expires. Users can't decrease
#' the lock duration or change the lock mode to `governance`. However,
#' users with appropriate IAM permissions can increase the lock
#' duration at any time.
#'
#' If you lock a snapshot in `compliance` mode, you can optionally
#' specify **CoolOffPeriod**.
#' @param CoolOffPeriod The cooling-off period during which you can unlock the snapshot or
#' modify the lock settings after locking the snapshot in compliance mode,
#' in hours. After the cooling-off period expires, you can't unlock or
#' delete the snapshot, decrease the lock duration, or change the lock
#' mode. You can increase the lock duration after the cooling-off period
#' expires.
#'
#' The cooling-off period is optional when locking a snapshot in compliance
#' mode. If you are locking the snapshot in governance mode, omit this
#' parameter.
#'
#' To lock the snapshot in compliance mode immediately without a
#' cooling-off period, omit this parameter.
#'
#' If you are extending the lock duration for a snapshot that is locked in
#' compliance mode after the cooling-off period has expired, omit this
#' parameter. If you specify a cooling-period in a such a request, the
#' request fails.
#'
#' Allowed values: Min 1, max 72.
#' @param LockDuration The period of time for which to lock the snapshot, in days. The snapshot
#' lock will automatically expire after this period lapses.
#'
#' You must specify either this parameter or **ExpirationDate**, but not
#' both.
#'
#' Allowed values: Min: 1, max 36500
#' @param ExpirationDate The date and time at which the snapshot lock is to automatically expire,
#' in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
#'
#' You must specify either this parameter or **LockDuration**, but not
#' both.
#'
#' @keywords internal
#'
#' @rdname ec2_lock_snapshot
ec2_lock_snapshot <- function(SnapshotId, DryRun = NULL, LockMode, CoolOffPeriod = NULL, LockDuration = NULL, ExpirationDate = NULL) {
op <- new_operation(
name = "LockSnapshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$lock_snapshot_input(SnapshotId = SnapshotId, DryRun = DryRun, LockMode = LockMode, CoolOffPeriod = CoolOffPeriod, LockDuration = LockDuration, ExpirationDate = ExpirationDate)
output <- .ec2$lock_snapshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$lock_snapshot <- ec2_lock_snapshot
#' Modifies an attribute of the specified Elastic IP address
#'
#' @description
#' Modifies an attribute of the specified Elastic IP address. For requirements, see [Using reverse DNS for email applications](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_address_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_address_attribute/) for full documentation.
#'
#' @param AllocationId [required] \[EC2-VPC\] The allocation ID.
#' @param DomainName The domain name to modify for the IP address.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_address_attribute
ec2_modify_address_attribute <- function(AllocationId, DomainName = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyAddressAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_address_attribute_input(AllocationId = AllocationId, DomainName = DomainName, DryRun = DryRun)
output <- .ec2$modify_address_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_address_attribute <- ec2_modify_address_attribute
#' Changes the opt-in status of the Local Zone and Wavelength Zone group
#' for your account
#'
#' @description
#' Changes the opt-in status of the Local Zone and Wavelength Zone group for your account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_availability_zone_group/](https://www.paws-r-sdk.com/docs/ec2_modify_availability_zone_group/) for full documentation.
#'
#' @param GroupName [required] The name of the Availability Zone group, Local Zone group, or Wavelength
#' Zone group.
#' @param OptInStatus [required] Indicates whether you are opted in to the Local Zone group or Wavelength
#' Zone group. The only valid value is `opted-in`. You must contact Amazon
#' Web Services Support to opt out of a Local Zone or Wavelength Zone
#' group.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_availability_zone_group
ec2_modify_availability_zone_group <- function(GroupName, OptInStatus, DryRun = NULL) {
op <- new_operation(
name = "ModifyAvailabilityZoneGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_availability_zone_group_input(GroupName = GroupName, OptInStatus = OptInStatus, DryRun = DryRun)
output <- .ec2$modify_availability_zone_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_availability_zone_group <- ec2_modify_availability_zone_group
#' Modifies a Capacity Reservation's capacity and the conditions under
#' which it is to be released
#'
#' @description
#' Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone, or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_capacity_reservation/](https://www.paws-r-sdk.com/docs/ec2_modify_capacity_reservation/) for full documentation.
#'
#' @param CapacityReservationId [required] The ID of the Capacity Reservation.
#' @param InstanceCount The number of instances for which to reserve capacity. The number of
#' instances can't be increased or decreased by more than `1000` in a
#' single request.
#' @param EndDate The date and time at which the Capacity Reservation expires. When a
#' Capacity Reservation expires, the reserved capacity is released and you
#' can no longer launch instances into it. The Capacity Reservation's state
#' changes to `expired` when it reaches its end date and time.
#'
#' The Capacity Reservation is cancelled within an hour from the specified
#' time. For example, if you specify 5/31/2019, 13:30:55, the Capacity
#' Reservation is guaranteed to end between 13:30:55 and 14:30:55 on
#' 5/31/2019.
#'
#' You must provide an `EndDate` value if `EndDateType` is `limited`. Omit
#' `EndDate` if `EndDateType` is `unlimited`.
#' @param EndDateType Indicates the way in which the Capacity Reservation ends. A Capacity
#' Reservation can have one of the following end types:
#'
#' - `unlimited` - The Capacity Reservation remains active until you
#' explicitly cancel it. Do not provide an `EndDate` value if
#' `EndDateType` is `unlimited`.
#'
#' - `limited` - The Capacity Reservation expires automatically at a
#' specified date and time. You must provide an `EndDate` value if
#' `EndDateType` is `limited`.
#' @param Accept Reserved. Capacity Reservations you have created are accepted by
#' default.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param AdditionalInfo Reserved for future use.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_capacity_reservation
ec2_modify_capacity_reservation <- function(CapacityReservationId, InstanceCount = NULL, EndDate = NULL, EndDateType = NULL, Accept = NULL, DryRun = NULL, AdditionalInfo = NULL) {
op <- new_operation(
name = "ModifyCapacityReservation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_capacity_reservation_input(CapacityReservationId = CapacityReservationId, InstanceCount = InstanceCount, EndDate = EndDate, EndDateType = EndDateType, Accept = Accept, DryRun = DryRun, AdditionalInfo = AdditionalInfo)
output <- .ec2$modify_capacity_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_capacity_reservation <- ec2_modify_capacity_reservation
#' Modifies a Capacity Reservation Fleet
#'
#' @description
#' Modifies a Capacity Reservation Fleet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_capacity_reservation_fleet/](https://www.paws-r-sdk.com/docs/ec2_modify_capacity_reservation_fleet/) for full documentation.
#'
#' @param CapacityReservationFleetId [required] The ID of the Capacity Reservation Fleet to modify.
#' @param TotalTargetCapacity The total number of capacity units to be reserved by the Capacity
#' Reservation Fleet. This value, together with the instance type weights
#' that you assign to each instance type used by the Fleet determine the
#' number of instances for which the Fleet reserves capacity. Both values
#' are based on units that make sense for your workload. For more
#' information, see [Total target
#' capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity)
#' in the Amazon EC2 User Guide.
#' @param EndDate The date and time at which the Capacity Reservation Fleet expires. When
#' the Capacity Reservation Fleet expires, its state changes to `expired`
#' and all of the Capacity Reservations in the Fleet expire.
#'
#' The Capacity Reservation Fleet expires within an hour after the
#' specified time. For example, if you specify `5/31/2019`, `13:30:55`, the
#' Capacity Reservation Fleet is guaranteed to expire between `13:30:55`
#' and `14:30:55` on `5/31/2019`.
#'
#' You can't specify **EndDate** and **RemoveEndDate** in the same request.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RemoveEndDate Indicates whether to remove the end date from the Capacity Reservation
#' Fleet. If you remove the end date, the Capacity Reservation Fleet does
#' not expire and it remains active until you explicitly cancel it using
#' the **CancelCapacityReservationFleet** action.
#'
#' You can't specify **RemoveEndDate** and **EndDate** in the same request.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_capacity_reservation_fleet
ec2_modify_capacity_reservation_fleet <- function(CapacityReservationFleetId, TotalTargetCapacity = NULL, EndDate = NULL, DryRun = NULL, RemoveEndDate = NULL) {
op <- new_operation(
name = "ModifyCapacityReservationFleet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_capacity_reservation_fleet_input(CapacityReservationFleetId = CapacityReservationFleetId, TotalTargetCapacity = TotalTargetCapacity, EndDate = EndDate, DryRun = DryRun, RemoveEndDate = RemoveEndDate)
output <- .ec2$modify_capacity_reservation_fleet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_capacity_reservation_fleet <- ec2_modify_capacity_reservation_fleet
#' Modifies the specified Client VPN endpoint
#'
#' @description
#' Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_client_vpn_endpoint/](https://www.paws-r-sdk.com/docs/ec2_modify_client_vpn_endpoint/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint to modify.
#' @param ServerCertificateArn The ARN of the server certificate to be used. The server certificate
#' must be provisioned in Certificate Manager (ACM).
#' @param ConnectionLogOptions Information about the client connection logging options.
#'
#' If you enable client connection logging, data about client connections
#' is sent to a Cloudwatch Logs log stream. The following information is
#' logged:
#'
#' - Client connection requests
#'
#' - Client connection results (successful and unsuccessful)
#'
#' - Reasons for unsuccessful client connection requests
#'
#' - Client connection termination time
#' @param DnsServers Information about the DNS servers to be used by Client VPN connections.
#' A Client VPN endpoint can have up to two DNS servers.
#' @param VpnPort The port number to assign to the Client VPN endpoint for TCP and UDP
#' traffic.
#'
#' Valid Values: `443` | `1194`
#'
#' Default Value: `443`
#' @param Description A brief description of the Client VPN endpoint.
#' @param SplitTunnel Indicates whether the VPN is split-tunnel.
#'
#' For information about split-tunnel VPN endpoints, see [Split-tunnel
#' Client VPN
#' endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html)
#' in the *Client VPN Administrator Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SecurityGroupIds The IDs of one or more security groups to apply to the target network.
#' @param VpcId The ID of the VPC to associate with the Client VPN endpoint.
#' @param SelfServicePortal Specify whether to enable the self-service portal for the Client VPN
#' endpoint.
#' @param ClientConnectOptions The options for managing connection authorization for new client
#' connections.
#' @param SessionTimeoutHours The maximum VPN session duration time in hours.
#'
#' Valid values: `8 | 10 | 12 | 24`
#'
#' Default value: `24`
#' @param ClientLoginBannerOptions Options for enabling a customizable text banner that will be displayed
#' on Amazon Web Services provided clients when a VPN session is
#' established.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_client_vpn_endpoint
ec2_modify_client_vpn_endpoint <- function(ClientVpnEndpointId, ServerCertificateArn = NULL, ConnectionLogOptions = NULL, DnsServers = NULL, VpnPort = NULL, Description = NULL, SplitTunnel = NULL, DryRun = NULL, SecurityGroupIds = NULL, VpcId = NULL, SelfServicePortal = NULL, ClientConnectOptions = NULL, SessionTimeoutHours = NULL, ClientLoginBannerOptions = NULL) {
op <- new_operation(
name = "ModifyClientVpnEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_client_vpn_endpoint_input(ClientVpnEndpointId = ClientVpnEndpointId, ServerCertificateArn = ServerCertificateArn, ConnectionLogOptions = ConnectionLogOptions, DnsServers = DnsServers, VpnPort = VpnPort, Description = Description, SplitTunnel = SplitTunnel, DryRun = DryRun, SecurityGroupIds = SecurityGroupIds, VpcId = VpcId, SelfServicePortal = SelfServicePortal, ClientConnectOptions = ClientConnectOptions, SessionTimeoutHours = SessionTimeoutHours, ClientLoginBannerOptions = ClientLoginBannerOptions)
output <- .ec2$modify_client_vpn_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_client_vpn_endpoint <- ec2_modify_client_vpn_endpoint
#' Modifies the default credit option for CPU usage of burstable
#' performance instances
#'
#' @description
#' Modifies the default credit option for CPU usage of burstable performance instances. The default credit option is set at the account level per Amazon Web Services Region, and is specified per instance family. All new burstable performance instances in the account launch using the default credit option.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_default_credit_specification/](https://www.paws-r-sdk.com/docs/ec2_modify_default_credit_specification/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceFamily [required] The instance family.
#' @param CpuCredits [required] The credit option for CPU usage of the instance family.
#'
#' Valid Values: `standard` | `unlimited`
#'
#' @keywords internal
#'
#' @rdname ec2_modify_default_credit_specification
ec2_modify_default_credit_specification <- function(DryRun = NULL, InstanceFamily, CpuCredits) {
op <- new_operation(
name = "ModifyDefaultCreditSpecification",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_default_credit_specification_input(DryRun = DryRun, InstanceFamily = InstanceFamily, CpuCredits = CpuCredits)
output <- .ec2$modify_default_credit_specification_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_default_credit_specification <- ec2_modify_default_credit_specification
#' Changes the default KMS key for EBS encryption by default for your
#' account in this Region
#'
#' @description
#' Changes the default KMS key for EBS encryption by default for your account in this Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_ebs_default_kms_key_id/](https://www.paws-r-sdk.com/docs/ec2_modify_ebs_default_kms_key_id/) for full documentation.
#'
#' @param KmsKeyId [required] The identifier of the Key Management Service (KMS) KMS key to use for
#' Amazon EBS encryption. If this parameter is not specified, your KMS key
#' for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted state
#' must be `true`.
#'
#' You can specify the KMS key using any of the following:
#'
#' - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Key alias. For example, alias/ExampleAlias.
#'
#' - Key ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
#'
#' - Alias ARN. For example,
#' arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
#'
#' Amazon Web Services authenticates the KMS key asynchronously. Therefore,
#' if you specify an ID, alias, or ARN that is not valid, the action can
#' appear to complete, but eventually fails.
#'
#' Amazon EBS does not support asymmetric KMS keys.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_ebs_default_kms_key_id
ec2_modify_ebs_default_kms_key_id <- function(KmsKeyId, DryRun = NULL) {
op <- new_operation(
name = "ModifyEbsDefaultKmsKeyId",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_ebs_default_kms_key_id_input(KmsKeyId = KmsKeyId, DryRun = DryRun)
output <- .ec2$modify_ebs_default_kms_key_id_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_ebs_default_kms_key_id <- ec2_modify_ebs_default_kms_key_id
#' Modifies the specified EC2 Fleet
#'
#' @description
#' Modifies the specified EC2 Fleet.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_fleet/](https://www.paws-r-sdk.com/docs/ec2_modify_fleet/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ExcessCapacityTerminationPolicy Indicates whether running instances should be terminated if the total
#' target capacity of the EC2 Fleet is decreased below the current size of
#' the EC2 Fleet.
#'
#' Supported only for fleets of type `maintain`.
#' @param LaunchTemplateConfigs The launch template and overrides.
#' @param FleetId [required] The ID of the EC2 Fleet.
#' @param TargetCapacitySpecification The size of the EC2 Fleet.
#' @param Context Reserved.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_fleet
ec2_modify_fleet <- function(DryRun = NULL, ExcessCapacityTerminationPolicy = NULL, LaunchTemplateConfigs = NULL, FleetId, TargetCapacitySpecification = NULL, Context = NULL) {
op <- new_operation(
name = "ModifyFleet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_fleet_input(DryRun = DryRun, ExcessCapacityTerminationPolicy = ExcessCapacityTerminationPolicy, LaunchTemplateConfigs = LaunchTemplateConfigs, FleetId = FleetId, TargetCapacitySpecification = TargetCapacitySpecification, Context = Context)
output <- .ec2$modify_fleet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_fleet <- ec2_modify_fleet
#' Modifies the specified attribute of the specified Amazon FPGA Image
#' (AFI)
#'
#' @description
#' Modifies the specified attribute of the specified Amazon FPGA Image (AFI).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_fpga_image_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_fpga_image_attribute/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FpgaImageId [required] The ID of the AFI.
#' @param Attribute The name of the attribute.
#' @param OperationType The operation type.
#' @param UserIds The Amazon Web Services account IDs. This parameter is valid only when
#' modifying the `loadPermission` attribute.
#' @param UserGroups The user groups. This parameter is valid only when modifying the
#' `loadPermission` attribute.
#' @param ProductCodes The product codes. After you add a product code to an AFI, it can't be
#' removed. This parameter is valid only when modifying the `productCodes`
#' attribute.
#' @param LoadPermission The load permission for the AFI.
#' @param Description A description for the AFI.
#' @param Name A name for the AFI.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_fpga_image_attribute
ec2_modify_fpga_image_attribute <- function(DryRun = NULL, FpgaImageId, Attribute = NULL, OperationType = NULL, UserIds = NULL, UserGroups = NULL, ProductCodes = NULL, LoadPermission = NULL, Description = NULL, Name = NULL) {
op <- new_operation(
name = "ModifyFpgaImageAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_fpga_image_attribute_input(DryRun = DryRun, FpgaImageId = FpgaImageId, Attribute = Attribute, OperationType = OperationType, UserIds = UserIds, UserGroups = UserGroups, ProductCodes = ProductCodes, LoadPermission = LoadPermission, Description = Description, Name = Name)
output <- .ec2$modify_fpga_image_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_fpga_image_attribute <- ec2_modify_fpga_image_attribute
#' Modify the auto-placement setting of a Dedicated Host
#'
#' @description
#' Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, any instances that you launch with a tenancy of `host` but without a specific host ID are placed onto any available Dedicated Host in your account that has auto-placement enabled. When auto-placement is disabled, you need to provide a host ID to have the instance launch onto a specific host. If no host ID is provided, the instance is launched onto a suitable host with auto-placement enabled.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_hosts/](https://www.paws-r-sdk.com/docs/ec2_modify_hosts/) for full documentation.
#'
#' @param AutoPlacement Specify whether to enable or disable auto-placement.
#' @param HostIds [required] The IDs of the Dedicated Hosts to modify.
#' @param HostRecovery Indicates whether to enable or disable host recovery for the Dedicated
#' Host. For more information, see [Host
#' recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html)
#' in the *Amazon EC2 User Guide*.
#' @param InstanceType Specifies the instance type to be supported by the Dedicated Host.
#' Specify this parameter to modify a Dedicated Host to support only a
#' specific instance type.
#'
#' If you want to modify a Dedicated Host to support multiple instance
#' types in its current instance family, omit this parameter and specify
#' **InstanceFamily** instead. You cannot specify **InstanceType** and
#' **InstanceFamily** in the same request.
#' @param InstanceFamily Specifies the instance family to be supported by the Dedicated Host.
#' Specify this parameter to modify a Dedicated Host to support multiple
#' instance types within its current instance family.
#'
#' If you want to modify a Dedicated Host to support a specific instance
#' type only, omit this parameter and specify **InstanceType** instead. You
#' cannot specify **InstanceFamily** and **InstanceType** in the same
#' request.
#' @param HostMaintenance Indicates whether to enable or disable host maintenance for the
#' Dedicated Host. For more information, see [Host
#' maintenance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html)
#' in the *Amazon EC2 User Guide*.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_hosts
ec2_modify_hosts <- function(AutoPlacement = NULL, HostIds, HostRecovery = NULL, InstanceType = NULL, InstanceFamily = NULL, HostMaintenance = NULL) {
op <- new_operation(
name = "ModifyHosts",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_hosts_input(AutoPlacement = AutoPlacement, HostIds = HostIds, HostRecovery = HostRecovery, InstanceType = InstanceType, InstanceFamily = InstanceFamily, HostMaintenance = HostMaintenance)
output <- .ec2$modify_hosts_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_hosts <- ec2_modify_hosts
#' Modifies the ID format for the specified resource on a per-Region basis
#'
#' @description
#' Modifies the ID format for the specified resource on a per-Region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_id_format/](https://www.paws-r-sdk.com/docs/ec2_modify_id_format/) for full documentation.
#'
#' @param Resource [required] The type of resource: `bundle` | `conversion-task` | `customer-gateway`
#' | `dhcp-options` | `elastic-ip-allocation` | `elastic-ip-association` |
#' `export-task` | `flow-log` | `image` | `import-task` |
#' `internet-gateway` | `network-acl` | `network-acl-association` |
#' `network-interface` | `network-interface-attachment` | `prefix-list` |
#' `route-table` | `route-table-association` | `security-group` | `subnet`
#' | `subnet-cidr-block-association` | `vpc` | `vpc-cidr-block-association`
#' | `vpc-endpoint` | `vpc-peering-connection` | `vpn-connection` |
#' `vpn-gateway`.
#'
#' Alternatively, use the `all-current` option to include all resource
#' types that are currently within their opt-in period for longer IDs.
#' @param UseLongIds [required] Indicate whether the resource should use longer IDs (17-character IDs).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_id_format
ec2_modify_id_format <- function(Resource, UseLongIds) {
op <- new_operation(
name = "ModifyIdFormat",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_id_format_input(Resource = Resource, UseLongIds = UseLongIds)
output <- .ec2$modify_id_format_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_id_format <- ec2_modify_id_format
#' Modifies the ID format of a resource for a specified IAM user, IAM role,
#' or the root user for an account; or all IAM users, IAM roles, and the
#' root user for an account
#'
#' @description
#' Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account. You can specify that resources should receive longer IDs (17-character IDs) when they are created.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_identity_id_format/](https://www.paws-r-sdk.com/docs/ec2_modify_identity_id_format/) for full documentation.
#'
#' @param PrincipalArn [required] The ARN of the principal, which can be an IAM user, IAM role, or the
#' root user. Specify `all` to modify the ID format for all IAM users, IAM
#' roles, and the root user of the account.
#' @param Resource [required] The type of resource: `bundle` | `conversion-task` | `customer-gateway`
#' | `dhcp-options` | `elastic-ip-allocation` | `elastic-ip-association` |
#' `export-task` | `flow-log` | `image` | `import-task` |
#' `internet-gateway` | `network-acl` | `network-acl-association` |
#' `network-interface` | `network-interface-attachment` | `prefix-list` |
#' `route-table` | `route-table-association` | `security-group` | `subnet`
#' | `subnet-cidr-block-association` | `vpc` | `vpc-cidr-block-association`
#' | `vpc-endpoint` | `vpc-peering-connection` | `vpn-connection` |
#' `vpn-gateway`.
#'
#' Alternatively, use the `all-current` option to include all resource
#' types that are currently within their opt-in period for longer IDs.
#' @param UseLongIds [required] Indicates whether the resource should use longer IDs (17-character IDs)
#'
#' @keywords internal
#'
#' @rdname ec2_modify_identity_id_format
ec2_modify_identity_id_format <- function(PrincipalArn, Resource, UseLongIds) {
op <- new_operation(
name = "ModifyIdentityIdFormat",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_identity_id_format_input(PrincipalArn = PrincipalArn, Resource = Resource, UseLongIds = UseLongIds)
output <- .ec2$modify_identity_id_format_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_identity_id_format <- ec2_modify_identity_id_format
#' Modifies the specified attribute of the specified AMI
#'
#' @description
#' Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_image_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_image_attribute/) for full documentation.
#'
#' @param Attribute The name of the attribute to modify.
#'
#' Valid values: `description` | `imdsSupport` | `launchPermission`
#' @param Description A new description for the AMI.
#' @param ImageId [required] The ID of the AMI.
#' @param LaunchPermission A new launch permission for the AMI.
#' @param OperationType The operation type. This parameter can be used only when the `Attribute`
#' parameter is `launchPermission`.
#' @param ProductCodes Not supported.
#' @param UserGroups The user groups. This parameter can be used only when the `Attribute`
#' parameter is `launchPermission`.
#' @param UserIds The Amazon Web Services account IDs. This parameter can be used only
#' when the `Attribute` parameter is `launchPermission`.
#' @param Value The value of the attribute being modified. This parameter can be used
#' only when the `Attribute` parameter is `description` or `imdsSupport`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param OrganizationArns The Amazon Resource Name (ARN) of an organization. This parameter can be
#' used only when the `Attribute` parameter is `launchPermission`.
#' @param OrganizationalUnitArns The Amazon Resource Name (ARN) of an organizational unit (OU). This
#' parameter can be used only when the `Attribute` parameter is
#' `launchPermission`.
#' @param ImdsSupport Set to `v2.0` to indicate that IMDSv2 is specified in the AMI. Instances
#' launched from this AMI will have `HttpTokens` automatically set to
#' `required` so that, by default, the instance requires that IMDSv2 is
#' used when requesting instance metadata. In addition,
#' `HttpPutResponseHopLimit` is set to `2`. For more information, see
#' [Configure the
#' AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration)
#' in the *Amazon EC2 User Guide*.
#'
#' Do not use this parameter unless your AMI software supports IMDSv2.
#' After you set the value to `v2.0`, you can't undo it. The only way to
#' “reset” your AMI is to create a new AMI from the underlying snapshot.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_image_attribute
ec2_modify_image_attribute <- function(Attribute = NULL, Description = NULL, ImageId, LaunchPermission = NULL, OperationType = NULL, ProductCodes = NULL, UserGroups = NULL, UserIds = NULL, Value = NULL, DryRun = NULL, OrganizationArns = NULL, OrganizationalUnitArns = NULL, ImdsSupport = NULL) {
op <- new_operation(
name = "ModifyImageAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_image_attribute_input(Attribute = Attribute, Description = Description, ImageId = ImageId, LaunchPermission = LaunchPermission, OperationType = OperationType, ProductCodes = ProductCodes, UserGroups = UserGroups, UserIds = UserIds, Value = Value, DryRun = DryRun, OrganizationArns = OrganizationArns, OrganizationalUnitArns = OrganizationalUnitArns, ImdsSupport = ImdsSupport)
output <- .ec2$modify_image_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_image_attribute <- ec2_modify_image_attribute
#' Modifies the specified attribute of the specified instance
#'
#' @description
#' Modifies the specified attribute of the specified instance. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_attribute/) for full documentation.
#'
#' @param SourceDestCheck Enable or disable source/destination checks, which ensure that the
#' instance is either the source or the destination of any traffic that it
#' receives. If the value is `true`, source/destination checks are enabled;
#' otherwise, they are disabled. The default value is `true`. You must
#' disable source/destination checks if the instance runs services such as
#' network address translation, routing, or firewalls.
#' @param Attribute The name of the attribute to modify.
#'
#' You can modify the following attributes only: `disableApiTermination` |
#' `instanceType` | `kernel` | `ramdisk` |
#' `instanceInitiatedShutdownBehavior` | `blockDeviceMapping` | `userData`
#' | `sourceDestCheck` | `groupSet` | `ebsOptimized` | `sriovNetSupport` |
#' `enaSupport` | `nvmeSupport` | `disableApiStop` | `enclaveOptions`
#' @param BlockDeviceMappings Modifies the `DeleteOnTermination` attribute for volumes that are
#' currently attached. The volume must be owned by the caller. If no value
#' is specified for `DeleteOnTermination`, the default is `true` and the
#' volume is deleted when the instance is terminated. You can't modify the
#' `DeleteOnTermination` attribute for volumes that are attached to Fargate
#' tasks.
#'
#' To add instance store volumes to an Amazon EBS-backed instance, you must
#' add them when you launch the instance. For more information, see [Update
#' the block device mapping when launching an
#' instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM)
#' in the *Amazon EC2 User Guide*.
#' @param DisableApiTermination If the value is `true`, you can't terminate the instance using the
#' Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this
#' parameter for Spot Instances.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EbsOptimized Specifies whether the instance is optimized for Amazon EBS I/O. This
#' optimization provides dedicated throughput to Amazon EBS and an
#' optimized configuration stack to provide optimal EBS I/O performance.
#' This optimization isn't available with all instance types. Additional
#' usage charges apply when using an EBS Optimized instance.
#' @param EnaSupport Set to `true` to enable enhanced networking with ENA for the instance.
#'
#' This option is supported only for HVM instances. Specifying this option
#' with a PV instance can make it unreachable.
#' @param Groups Replaces the security groups of the instance with the specified security
#' groups. You must specify the ID of at least one security group, even if
#' it's just the default security group for the VPC.
#' @param InstanceId [required] The ID of the instance.
#' @param InstanceInitiatedShutdownBehavior Specifies whether an instance stops or terminates when you initiate
#' shutdown from the instance (using the operating system command for
#' system shutdown).
#' @param InstanceType Changes the instance type to the specified value. For more information,
#' see [Instance
#' types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
#' in the *Amazon EC2 User Guide*. If the instance type is not valid, the
#' error returned is `InvalidInstanceAttributeValue`.
#' @param Kernel Changes the instance's kernel to the specified value. We recommend that
#' you use PV-GRUB instead of kernels and RAM disks. For more information,
#' see
#' [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html).
#' @param Ramdisk Changes the instance's RAM disk to the specified value. We recommend
#' that you use PV-GRUB instead of kernels and RAM disks. For more
#' information, see
#' [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html).
#' @param SriovNetSupport Set to `simple` to enable enhanced networking with the Intel 82599
#' Virtual Function interface for the instance.
#'
#' There is no way to disable enhanced networking with the Intel 82599
#' Virtual Function interface at this time.
#'
#' This option is supported only for HVM instances. Specifying this option
#' with a PV instance can make it unreachable.
#' @param UserData Changes the instance's user data to the specified value. If you are
#' using an Amazon Web Services SDK or command line tool, base64-encoding
#' is performed for you, and you can load the text from a file. Otherwise,
#' you must provide base64-encoded text.
#' @param Value A new value for the attribute. Use only with the `kernel`, `ramdisk`,
#' `userData`, `disableApiTermination`, or
#' `instanceInitiatedShutdownBehavior` attribute.
#' @param DisableApiStop Indicates whether an instance is enabled for stop protection. For more
#' information, see [Stop
#' Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_attribute
ec2_modify_instance_attribute <- function(SourceDestCheck = NULL, Attribute = NULL, BlockDeviceMappings = NULL, DisableApiTermination = NULL, DryRun = NULL, EbsOptimized = NULL, EnaSupport = NULL, Groups = NULL, InstanceId, InstanceInitiatedShutdownBehavior = NULL, InstanceType = NULL, Kernel = NULL, Ramdisk = NULL, SriovNetSupport = NULL, UserData = NULL, Value = NULL, DisableApiStop = NULL) {
op <- new_operation(
name = "ModifyInstanceAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_attribute_input(SourceDestCheck = SourceDestCheck, Attribute = Attribute, BlockDeviceMappings = BlockDeviceMappings, DisableApiTermination = DisableApiTermination, DryRun = DryRun, EbsOptimized = EbsOptimized, EnaSupport = EnaSupport, Groups = Groups, InstanceId = InstanceId, InstanceInitiatedShutdownBehavior = InstanceInitiatedShutdownBehavior, InstanceType = InstanceType, Kernel = Kernel, Ramdisk = Ramdisk, SriovNetSupport = SriovNetSupport, UserData = UserData, Value = Value, DisableApiStop = DisableApiStop)
output <- .ec2$modify_instance_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_attribute <- ec2_modify_instance_attribute
#' Modifies the Capacity Reservation settings for a stopped instance
#'
#' @description
#' Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an instance to target a specific Capacity Reservation, run in any `open` Capacity Reservation with matching attributes, or run On-Demand Instance capacity.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_capacity_reservation_attributes/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_capacity_reservation_attributes/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance to be modified.
#' @param CapacityReservationSpecification [required] Information about the Capacity Reservation targeting option.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_capacity_reservation_attributes
ec2_modify_instance_capacity_reservation_attributes <- function(InstanceId, CapacityReservationSpecification, DryRun = NULL) {
op <- new_operation(
name = "ModifyInstanceCapacityReservationAttributes",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_capacity_reservation_attributes_input(InstanceId = InstanceId, CapacityReservationSpecification = CapacityReservationSpecification, DryRun = DryRun)
output <- .ec2$modify_instance_capacity_reservation_attributes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_capacity_reservation_attributes <- ec2_modify_instance_capacity_reservation_attributes
#' Modifies the credit option for CPU usage on a running or stopped
#' burstable performance instance
#'
#' @description
#' Modifies the credit option for CPU usage on a running or stopped burstable performance instance. The credit options are `standard` and `unlimited`.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_credit_specification/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_credit_specification/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param InstanceCreditSpecifications [required] Information about the credit option for CPU usage.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_credit_specification
ec2_modify_instance_credit_specification <- function(DryRun = NULL, ClientToken = NULL, InstanceCreditSpecifications) {
op <- new_operation(
name = "ModifyInstanceCreditSpecification",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_credit_specification_input(DryRun = DryRun, ClientToken = ClientToken, InstanceCreditSpecifications = InstanceCreditSpecifications)
output <- .ec2$modify_instance_credit_specification_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_credit_specification <- ec2_modify_instance_credit_specification
#' Modifies the start time for a scheduled Amazon EC2 instance event
#'
#' @description
#' Modifies the start time for a scheduled Amazon EC2 instance event.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_event_start_time/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_event_start_time/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance with the scheduled event.
#' @param InstanceEventId [required] The ID of the event whose date and time you are modifying.
#' @param NotBefore [required] The new date and time when the event will take place.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_event_start_time
ec2_modify_instance_event_start_time <- function(DryRun = NULL, InstanceId, InstanceEventId, NotBefore) {
op <- new_operation(
name = "ModifyInstanceEventStartTime",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_event_start_time_input(DryRun = DryRun, InstanceId = InstanceId, InstanceEventId = InstanceEventId, NotBefore = NotBefore)
output <- .ec2$modify_instance_event_start_time_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_event_start_time <- ec2_modify_instance_event_start_time
#' Modifies the specified event window
#'
#' @description
#' Modifies the specified event window.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_event_window/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_event_window/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Name The name of the event window.
#' @param InstanceEventWindowId [required] The ID of the event window.
#' @param TimeRanges The time ranges of the event window.
#' @param CronExpression The cron expression of the event window, for example,
#' `* 0-4,20-23 * * 1,5`.
#'
#' Constraints:
#'
#' - Only hour and day of the week values are supported.
#'
#' - For day of the week values, you can specify either integers `0`
#' through `6`, or alternative single values `SUN` through `SAT`.
#'
#' - The minute, month, and year must be specified by `*`.
#'
#' - The hour value must be one or a multiple range, for example, `0-4`
#' or `0-4,20-23`.
#'
#' - Each hour range must be \>= 2 hours, for example, `0-2` or `20-23`.
#'
#' - The event window must be \>= 4 hours. The combined total time ranges
#' in the event window must be \>= 4 hours.
#'
#' For more information about cron expressions, see
#' [cron](https://en.wikipedia.org/wiki/Cron) on the *Wikipedia website*.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_event_window
ec2_modify_instance_event_window <- function(DryRun = NULL, Name = NULL, InstanceEventWindowId, TimeRanges = NULL, CronExpression = NULL) {
op <- new_operation(
name = "ModifyInstanceEventWindow",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_event_window_input(DryRun = DryRun, Name = Name, InstanceEventWindowId = InstanceEventWindowId, TimeRanges = TimeRanges, CronExpression = CronExpression)
output <- .ec2$modify_instance_event_window_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_event_window <- ec2_modify_instance_event_window
#' Modifies the recovery behavior of your instance to disable simplified
#' automatic recovery or set the recovery behavior to default
#'
#' @description
#' Modifies the recovery behavior of your instance to disable simplified automatic recovery or set the recovery behavior to default. The default configuration will not enable simplified automatic recovery for an unsupported instance type. For more information, see [Simplified automatic recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_maintenance_options/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_maintenance_options/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance.
#' @param AutoRecovery Disables the automatic recovery behavior of your instance or sets it to
#' default.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_maintenance_options
ec2_modify_instance_maintenance_options <- function(InstanceId, AutoRecovery = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyInstanceMaintenanceOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_maintenance_options_input(InstanceId = InstanceId, AutoRecovery = AutoRecovery, DryRun = DryRun)
output <- .ec2$modify_instance_maintenance_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_maintenance_options <- ec2_modify_instance_maintenance_options
#' Modifies the default instance metadata service (IMDS) settings at the
#' account level in the specified Amazon Web Services Region
#'
#' @description
#' Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services Region.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_metadata_defaults/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_metadata_defaults/) for full documentation.
#'
#' @param HttpTokens Indicates whether IMDSv2 is required.
#'
#' - `optional` – IMDSv2 is optional, which means that you can use either
#' IMDSv2 or IMDSv1.
#'
#' - `required` – IMDSv2 is required, which means that IMDSv1 is
#' disabled, and you must use IMDSv2.
#' @param HttpPutResponseHopLimit The maximum number of hops that the metadata token can travel. To
#' indicate no preference, specify `-1`.
#'
#' Possible values: Integers from `1` to `64`, and `-1` to indicate no
#' preference
#' @param HttpEndpoint Enables or disables the IMDS endpoint on an instance. When disabled, the
#' instance metadata can't be accessed.
#' @param InstanceMetadataTags Enables or disables access to an instance's tags from the instance
#' metadata. For more information, see [Work with instance tags using the
#' instance
#' metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS)
#' in the *Amazon EC2 User Guide*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_metadata_defaults
ec2_modify_instance_metadata_defaults <- function(HttpTokens = NULL, HttpPutResponseHopLimit = NULL, HttpEndpoint = NULL, InstanceMetadataTags = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyInstanceMetadataDefaults",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_metadata_defaults_input(HttpTokens = HttpTokens, HttpPutResponseHopLimit = HttpPutResponseHopLimit, HttpEndpoint = HttpEndpoint, InstanceMetadataTags = InstanceMetadataTags, DryRun = DryRun)
output <- .ec2$modify_instance_metadata_defaults_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_metadata_defaults <- ec2_modify_instance_metadata_defaults
#' Modify the instance metadata parameters on a running or stopped instance
#'
#' @description
#' Modify the instance metadata parameters on a running or stopped instance. When you modify the parameters on a stopped instance, they are applied when the instance is started. When you modify the parameters on a running instance, the API responds with a state of “pending”. After the parameter modifications are successfully applied to the instance, the state of the modifications changes from “pending” to “applied” in subsequent describe-instances API calls. For more information, see [Instance metadata and user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_metadata_options/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_metadata_options/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance.
#' @param HttpTokens Indicates whether IMDSv2 is required.
#'
#' - `optional` - IMDSv2 is optional. You can choose whether to send a
#' session token in your instance metadata retrieval requests. If you
#' retrieve IAM role credentials without a session token, you receive
#' the IMDSv1 role credentials. If you retrieve IAM role credentials
#' using a valid session token, you receive the IMDSv2 role
#' credentials.
#'
#' - `required` - IMDSv2 is required. You must send a session token in
#' your instance metadata retrieval requests. With this option,
#' retrieving the IAM role credentials always returns IMDSv2
#' credentials; IMDSv1 credentials are not available.
#'
#' Default:
#'
#' - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for
#' your instance is `v2.0` and the account level default is set to
#' `no-preference`, the default is `required`.
#'
#' - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for
#' your instance is `v2.0`, but the account level default is set to
#' `V1 or V2`, the default is `optional`.
#'
#' The default value can also be affected by other combinations of
#' parameters. For more information, see [Order of precedence for instance
#' metadata
#' options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence)
#' in the *Amazon EC2 User Guide*.
#' @param HttpPutResponseHopLimit The desired HTTP PUT response hop limit for instance metadata requests.
#' The larger the number, the further instance metadata requests can
#' travel. If no parameter is specified, the existing state is maintained.
#'
#' Possible values: Integers from 1 to 64
#' @param HttpEndpoint Enables or disables the HTTP metadata endpoint on your instances. If
#' this parameter is not specified, the existing state is maintained.
#'
#' If you specify a value of `disabled`, you cannot access your instance
#' metadata.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param HttpProtocolIpv6 Enables or disables the IPv6 endpoint for the instance metadata service.
#' Applies only if you enabled the HTTP metadata endpoint.
#' @param InstanceMetadataTags Set to `enabled` to allow access to instance tags from the instance
#' metadata. Set to `disabled` to turn off access to instance tags from the
#' instance metadata. For more information, see [Work with instance tags
#' using the instance
#' metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_metadata_options
ec2_modify_instance_metadata_options <- function(InstanceId, HttpTokens = NULL, HttpPutResponseHopLimit = NULL, HttpEndpoint = NULL, DryRun = NULL, HttpProtocolIpv6 = NULL, InstanceMetadataTags = NULL) {
op <- new_operation(
name = "ModifyInstanceMetadataOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_metadata_options_input(InstanceId = InstanceId, HttpTokens = HttpTokens, HttpPutResponseHopLimit = HttpPutResponseHopLimit, HttpEndpoint = HttpEndpoint, DryRun = DryRun, HttpProtocolIpv6 = HttpProtocolIpv6, InstanceMetadataTags = InstanceMetadataTags)
output <- .ec2$modify_instance_metadata_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_metadata_options <- ec2_modify_instance_metadata_options
#' Modifies the placement attributes for a specified instance
#'
#' @description
#' Modifies the placement attributes for a specified instance. You can do the following:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_instance_placement/](https://www.paws-r-sdk.com/docs/ec2_modify_instance_placement/) for full documentation.
#'
#' @param Affinity The affinity setting for the instance. For more information, see [Host
#' affinity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity)
#' in the *Amazon EC2 User Guide*.
#' @param GroupName The name of the placement group in which to place the instance. For
#' spread placement groups, the instance must have a tenancy of `default`.
#' For cluster and partition placement groups, the instance must have a
#' tenancy of `default` or `dedicated`.
#'
#' To remove an instance from a placement group, specify an empty string
#' ("").
#' @param HostId The ID of the Dedicated Host with which to associate the instance.
#' @param InstanceId [required] The ID of the instance that you are modifying.
#' @param Tenancy The tenancy for the instance.
#'
#' For T3 instances, you must launch the instance on a Dedicated Host to
#' use a tenancy of `host`. You can't change the tenancy from `host` to
#' `dedicated` or `default`. Attempting to make one of these unsupported
#' tenancy changes results in an `InvalidRequest` error code.
#' @param PartitionNumber The number of the partition in which to place the instance. Valid only
#' if the placement group strategy is set to `partition`.
#' @param HostResourceGroupArn The ARN of the host resource group in which to place the instance. The
#' instance must have a tenancy of `host` to specify this parameter.
#' @param GroupId The Group Id of a placement group. You must specify the Placement Group
#' **Group Id** to launch an instance in a shared placement group.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_instance_placement
ec2_modify_instance_placement <- function(Affinity = NULL, GroupName = NULL, HostId = NULL, InstanceId, Tenancy = NULL, PartitionNumber = NULL, HostResourceGroupArn = NULL, GroupId = NULL) {
op <- new_operation(
name = "ModifyInstancePlacement",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_instance_placement_input(Affinity = Affinity, GroupName = GroupName, HostId = HostId, InstanceId = InstanceId, Tenancy = Tenancy, PartitionNumber = PartitionNumber, HostResourceGroupArn = HostResourceGroupArn, GroupId = GroupId)
output <- .ec2$modify_instance_placement_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_instance_placement <- ec2_modify_instance_placement
#' Modify the configurations of an IPAM
#'
#' @description
#' Modify the configurations of an IPAM.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_ipam/](https://www.paws-r-sdk.com/docs/ec2_modify_ipam/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamId [required] The ID of the IPAM you want to modify.
#' @param Description The description of the IPAM you want to modify.
#' @param AddOperatingRegions Choose the operating Regions for the IPAM. Operating Regions are Amazon
#' Web Services Regions where the IPAM is allowed to manage IP address
#' CIDRs. IPAM only discovers and monitors resources in the Amazon Web
#' Services Regions you select as operating Regions.
#'
#' For more information about operating Regions, see [Create an
#' IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in
#' the *Amazon VPC IPAM User Guide*.
#' @param RemoveOperatingRegions The operating Regions to remove.
#' @param Tier IPAM is offered in a Free Tier and an Advanced Tier. For more
#' information about the features available in each tier and the costs
#' associated with the tiers, see [Amazon VPC pricing \> IPAM
#' tab](https://aws.amazon.com/vpc/pricing/).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_ipam
ec2_modify_ipam <- function(DryRun = NULL, IpamId, Description = NULL, AddOperatingRegions = NULL, RemoveOperatingRegions = NULL, Tier = NULL) {
op <- new_operation(
name = "ModifyIpam",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_ipam_input(DryRun = DryRun, IpamId = IpamId, Description = Description, AddOperatingRegions = AddOperatingRegions, RemoveOperatingRegions = RemoveOperatingRegions, Tier = Tier)
output <- .ec2$modify_ipam_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_ipam <- ec2_modify_ipam
#' Modify the configurations of an IPAM pool
#'
#' @description
#' Modify the configurations of an IPAM pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_ipam_pool/](https://www.paws-r-sdk.com/docs/ec2_modify_ipam_pool/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool you want to modify.
#' @param Description The description of the IPAM pool you want to modify.
#' @param AutoImport If true, IPAM will continuously look for resources within the CIDR range
#' of this pool and automatically import them as allocations into your
#' IPAM. The CIDRs that will be allocated for these resources must not
#' already be allocated to other resources in order for the import to
#' succeed. IPAM will import a CIDR regardless of its compliance with the
#' pool's allocation rules, so a resource might be imported and
#' subsequently marked as noncompliant. If IPAM discovers multiple CIDRs
#' that overlap, IPAM will import the largest CIDR only. If IPAM discovers
#' multiple CIDRs with matching CIDRs, IPAM will randomly import one of
#' them only.
#'
#' A locale must be set on the pool for this feature to work.
#' @param AllocationMinNetmaskLength The minimum netmask length required for CIDR allocations in this IPAM
#' pool to be compliant. Possible netmask lengths for IPv4 addresses are
#' 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The
#' minimum netmask length must be less than the maximum netmask length.
#' @param AllocationMaxNetmaskLength The maximum netmask length possible for CIDR allocations in this IPAM
#' pool to be compliant. Possible netmask lengths for IPv4 addresses are
#' 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The
#' maximum netmask length must be greater than the minimum netmask length.
#' @param AllocationDefaultNetmaskLength The default netmask length for allocations added to this pool. If, for
#' example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16
#' here, new allocations will default to 10.0.0.0/16.
#' @param ClearAllocationDefaultNetmaskLength Clear the default netmask length allocation rule for this pool.
#' @param AddAllocationResourceTags Add tag allocation rules to a pool. For more information about
#' allocation rules, see [Create a top-level
#' pool](https://docs.aws.amazon.com/vpc/latest/ipam/create-top-ipam.html)
#' in the *Amazon VPC IPAM User Guide*.
#' @param RemoveAllocationResourceTags Remove tag allocation rules from a pool.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_ipam_pool
ec2_modify_ipam_pool <- function(DryRun = NULL, IpamPoolId, Description = NULL, AutoImport = NULL, AllocationMinNetmaskLength = NULL, AllocationMaxNetmaskLength = NULL, AllocationDefaultNetmaskLength = NULL, ClearAllocationDefaultNetmaskLength = NULL, AddAllocationResourceTags = NULL, RemoveAllocationResourceTags = NULL) {
op <- new_operation(
name = "ModifyIpamPool",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_ipam_pool_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Description = Description, AutoImport = AutoImport, AllocationMinNetmaskLength = AllocationMinNetmaskLength, AllocationMaxNetmaskLength = AllocationMaxNetmaskLength, AllocationDefaultNetmaskLength = AllocationDefaultNetmaskLength, ClearAllocationDefaultNetmaskLength = ClearAllocationDefaultNetmaskLength, AddAllocationResourceTags = AddAllocationResourceTags, RemoveAllocationResourceTags = RemoveAllocationResourceTags)
output <- .ec2$modify_ipam_pool_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_ipam_pool <- ec2_modify_ipam_pool
#' Modify a resource CIDR
#'
#' @description
#' Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be auto-imported into a pool, and it will be removed from any pool it has an allocation in.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_ipam_resource_cidr/](https://www.paws-r-sdk.com/docs/ec2_modify_ipam_resource_cidr/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param ResourceId [required] The ID of the resource you want to modify.
#' @param ResourceCidr [required] The CIDR of the resource you want to modify.
#' @param ResourceRegion [required] The Amazon Web Services Region of the resource you want to modify.
#' @param CurrentIpamScopeId [required] The ID of the current scope that the resource CIDR is in.
#' @param DestinationIpamScopeId The ID of the scope you want to transfer the resource CIDR to.
#' @param Monitored [required] Determines if the resource is monitored by IPAM. If a resource is
#' monitored, the resource is discovered by IPAM and you can view details
#' about the resource’s CIDR.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_ipam_resource_cidr
ec2_modify_ipam_resource_cidr <- function(DryRun = NULL, ResourceId, ResourceCidr, ResourceRegion, CurrentIpamScopeId, DestinationIpamScopeId = NULL, Monitored) {
op <- new_operation(
name = "ModifyIpamResourceCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_ipam_resource_cidr_input(DryRun = DryRun, ResourceId = ResourceId, ResourceCidr = ResourceCidr, ResourceRegion = ResourceRegion, CurrentIpamScopeId = CurrentIpamScopeId, DestinationIpamScopeId = DestinationIpamScopeId, Monitored = Monitored)
output <- .ec2$modify_ipam_resource_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_ipam_resource_cidr <- ec2_modify_ipam_resource_cidr
#' Modifies a resource discovery
#'
#' @description
#' Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_ipam_resource_discovery/](https://www.paws-r-sdk.com/docs/ec2_modify_ipam_resource_discovery/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamResourceDiscoveryId [required] A resource discovery ID.
#' @param Description A resource discovery description.
#' @param AddOperatingRegions Add operating Regions to the resource discovery. Operating Regions are
#' Amazon Web Services Regions where the IPAM is allowed to manage IP
#' address CIDRs. IPAM only discovers and monitors resources in the Amazon
#' Web Services Regions you select as operating Regions.
#' @param RemoveOperatingRegions Remove operating Regions.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_ipam_resource_discovery
ec2_modify_ipam_resource_discovery <- function(DryRun = NULL, IpamResourceDiscoveryId, Description = NULL, AddOperatingRegions = NULL, RemoveOperatingRegions = NULL) {
op <- new_operation(
name = "ModifyIpamResourceDiscovery",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_ipam_resource_discovery_input(DryRun = DryRun, IpamResourceDiscoveryId = IpamResourceDiscoveryId, Description = Description, AddOperatingRegions = AddOperatingRegions, RemoveOperatingRegions = RemoveOperatingRegions)
output <- .ec2$modify_ipam_resource_discovery_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_ipam_resource_discovery <- ec2_modify_ipam_resource_discovery
#' Modify an IPAM scope
#'
#' @description
#' Modify an IPAM scope.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_ipam_scope/](https://www.paws-r-sdk.com/docs/ec2_modify_ipam_scope/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamScopeId [required] The ID of the scope you want to modify.
#' @param Description The description of the scope you want to modify.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_ipam_scope
ec2_modify_ipam_scope <- function(DryRun = NULL, IpamScopeId, Description = NULL) {
op <- new_operation(
name = "ModifyIpamScope",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_ipam_scope_input(DryRun = DryRun, IpamScopeId = IpamScopeId, Description = Description)
output <- .ec2$modify_ipam_scope_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_ipam_scope <- ec2_modify_ipam_scope
#' Modifies a launch template
#'
#' @description
#' Modifies a launch template. You can specify which version of the launch template to set as the default version. When launching an instance, the default version applies when a launch template version is not specified.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_launch_template/](https://www.paws-r-sdk.com/docs/ec2_modify_launch_template/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure the idempotency
#' of the request. For more information, see [Ensuring
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' Constraint: Maximum 128 ASCII characters.
#' @param LaunchTemplateId The ID of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param LaunchTemplateName The name of the launch template.
#'
#' You must specify either the launch template ID or the launch template
#' name, but not both.
#' @param DefaultVersion The version number of the launch template to set as the default version.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_launch_template
ec2_modify_launch_template <- function(DryRun = NULL, ClientToken = NULL, LaunchTemplateId = NULL, LaunchTemplateName = NULL, DefaultVersion = NULL) {
op <- new_operation(
name = "ModifyLaunchTemplate",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_launch_template_input(DryRun = DryRun, ClientToken = ClientToken, LaunchTemplateId = LaunchTemplateId, LaunchTemplateName = LaunchTemplateName, DefaultVersion = DefaultVersion)
output <- .ec2$modify_launch_template_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_launch_template <- ec2_modify_launch_template
#' Modifies the specified local gateway route
#'
#' @description
#' Modifies the specified local gateway route.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_local_gateway_route/](https://www.paws-r-sdk.com/docs/ec2_modify_local_gateway_route/) for full documentation.
#'
#' @param DestinationCidrBlock The CIDR block used for destination matches. The value that you provide
#' must match the CIDR of an existing route in the table.
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param LocalGatewayVirtualInterfaceGroupId The ID of the virtual interface group.
#' @param NetworkInterfaceId The ID of the network interface.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param DestinationPrefixListId The ID of the prefix list. Use a prefix list in place of
#' `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
#' `DestinationCidrBlock` in the same request.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_local_gateway_route
ec2_modify_local_gateway_route <- function(DestinationCidrBlock = NULL, LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId = NULL, NetworkInterfaceId = NULL, DryRun = NULL, DestinationPrefixListId = NULL) {
op <- new_operation(
name = "ModifyLocalGatewayRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_local_gateway_route_input(DestinationCidrBlock = DestinationCidrBlock, LocalGatewayRouteTableId = LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId = LocalGatewayVirtualInterfaceGroupId, NetworkInterfaceId = NetworkInterfaceId, DryRun = DryRun, DestinationPrefixListId = DestinationPrefixListId)
output <- .ec2$modify_local_gateway_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_local_gateway_route <- ec2_modify_local_gateway_route
#' Modifies the specified managed prefix list
#'
#' @description
#' Modifies the specified managed prefix list.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_managed_prefix_list/](https://www.paws-r-sdk.com/docs/ec2_modify_managed_prefix_list/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PrefixListId [required] The ID of the prefix list.
#' @param CurrentVersion The current version of the prefix list.
#' @param PrefixListName A name for the prefix list.
#' @param AddEntries One or more entries to add to the prefix list.
#' @param RemoveEntries One or more entries to remove from the prefix list.
#' @param MaxEntries The maximum number of entries for the prefix list. You cannot modify the
#' entries of a prefix list and modify the size of a prefix list at the
#' same time.
#'
#' If any of the resources that reference the prefix list cannot support
#' the new maximum size, the modify operation fails. Check the state
#' message for the IDs of the first ten resources that do not support the
#' new maximum size.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_managed_prefix_list
ec2_modify_managed_prefix_list <- function(DryRun = NULL, PrefixListId, CurrentVersion = NULL, PrefixListName = NULL, AddEntries = NULL, RemoveEntries = NULL, MaxEntries = NULL) {
op <- new_operation(
name = "ModifyManagedPrefixList",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_managed_prefix_list_input(DryRun = DryRun, PrefixListId = PrefixListId, CurrentVersion = CurrentVersion, PrefixListName = PrefixListName, AddEntries = AddEntries, RemoveEntries = RemoveEntries, MaxEntries = MaxEntries)
output <- .ec2$modify_managed_prefix_list_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_managed_prefix_list <- ec2_modify_managed_prefix_list
#' Modifies the specified network interface attribute
#'
#' @description
#' Modifies the specified network interface attribute. You can specify only one attribute at a time. You can use this action to attach and detach security groups from an existing EC2 instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_network_interface_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_network_interface_attribute/) for full documentation.
#'
#' @param Attachment Information about the interface attachment. If modifying the
#' `delete on termination` attribute, you must specify the ID of the
#' interface attachment.
#' @param Description A description for the network interface.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Groups Changes the security groups for the network interface. The new set of
#' groups you specify replaces the current set. You must specify at least
#' one group, even if it's just the default security group in the VPC. You
#' must specify the ID of the security group, not the name.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#' @param SourceDestCheck Enable or disable source/destination checks, which ensure that the
#' instance is either the source or the destination of any traffic that it
#' receives. If the value is `true`, source/destination checks are enabled;
#' otherwise, they are disabled. The default value is `true`. You must
#' disable source/destination checks if the instance runs services such as
#' network address translation, routing, or firewalls.
#' @param EnaSrdSpecification Updates the ENA Express configuration for the network interface that’s
#' attached to the instance.
#' @param EnablePrimaryIpv6 If you’re modifying a network interface in a dual-stack or IPv6-only
#' subnet, you have the option to assign a primary IPv6 IP address. A
#' primary IPv6 address is an IPv6 GUA address associated with an ENI that
#' you have enabled to use a primary IPv6 address. Use this option if the
#' instance that this ENI will be attached to relies on its IPv6 address
#' not changing. Amazon Web Services will automatically assign an IPv6
#' address associated with the ENI attached to your instance to be the
#' primary IPv6 address. Once you enable an IPv6 GUA address to be a
#' primary IPv6, you cannot disable it. When you enable an IPv6 GUA address
#' to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6
#' address until the instance is terminated or the network interface is
#' detached. If you have multiple IPv6 addresses associated with an ENI
#' attached to your instance and you enable a primary IPv6 address, the
#' first IPv6 GUA address associated with the ENI becomes the primary IPv6
#' address.
#' @param ConnectionTrackingSpecification A connection tracking specification.
#' @param AssociatePublicIpAddress Indicates whether to assign a public IPv4 address to a network
#' interface. This option can be enabled for any network interface but will
#' only apply to the primary network interface (eth0).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_network_interface_attribute
ec2_modify_network_interface_attribute <- function(Attachment = NULL, Description = NULL, DryRun = NULL, Groups = NULL, NetworkInterfaceId, SourceDestCheck = NULL, EnaSrdSpecification = NULL, EnablePrimaryIpv6 = NULL, ConnectionTrackingSpecification = NULL, AssociatePublicIpAddress = NULL) {
op <- new_operation(
name = "ModifyNetworkInterfaceAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_network_interface_attribute_input(Attachment = Attachment, Description = Description, DryRun = DryRun, Groups = Groups, NetworkInterfaceId = NetworkInterfaceId, SourceDestCheck = SourceDestCheck, EnaSrdSpecification = EnaSrdSpecification, EnablePrimaryIpv6 = EnablePrimaryIpv6, ConnectionTrackingSpecification = ConnectionTrackingSpecification, AssociatePublicIpAddress = AssociatePublicIpAddress)
output <- .ec2$modify_network_interface_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_network_interface_attribute <- ec2_modify_network_interface_attribute
#' Modifies the options for instance hostnames for the specified instance
#'
#' @description
#' Modifies the options for instance hostnames for the specified instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_private_dns_name_options/](https://www.paws-r-sdk.com/docs/ec2_modify_private_dns_name_options/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#' @param PrivateDnsHostnameType The type of hostname for EC2 instances. For IPv4 only subnets, an
#' instance DNS name must be based on the instance IPv4 address. For IPv6
#' only subnets, an instance DNS name must be based on the instance ID. For
#' dual-stack subnets, you can specify whether DNS names use the instance
#' IPv4 address or the instance ID.
#' @param EnableResourceNameDnsARecord Indicates whether to respond to DNS queries for instance hostnames with
#' DNS A records.
#' @param EnableResourceNameDnsAAAARecord Indicates whether to respond to DNS queries for instance hostnames with
#' DNS AAAA records.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_private_dns_name_options
ec2_modify_private_dns_name_options <- function(DryRun = NULL, InstanceId, PrivateDnsHostnameType = NULL, EnableResourceNameDnsARecord = NULL, EnableResourceNameDnsAAAARecord = NULL) {
op <- new_operation(
name = "ModifyPrivateDnsNameOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_private_dns_name_options_input(DryRun = DryRun, InstanceId = InstanceId, PrivateDnsHostnameType = PrivateDnsHostnameType, EnableResourceNameDnsARecord = EnableResourceNameDnsARecord, EnableResourceNameDnsAAAARecord = EnableResourceNameDnsAAAARecord)
output <- .ec2$modify_private_dns_name_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_private_dns_name_options <- ec2_modify_private_dns_name_options
#' Modifies the configuration of your Reserved Instances, such as the
#' Availability Zone, instance count, or instance type
#'
#' @description
#' Modifies the configuration of your Reserved Instances, such as the Availability Zone, instance count, or instance type. The Reserved Instances to be modified must be identical, except for Availability Zone, network platform, and instance type.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_reserved_instances/](https://www.paws-r-sdk.com/docs/ec2_modify_reserved_instances/) for full documentation.
#'
#' @param ReservedInstancesIds [required] The IDs of the Reserved Instances to modify.
#' @param ClientToken A unique, case-sensitive token you provide to ensure idempotency of your
#' modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param TargetConfigurations [required] The configuration settings for the Reserved Instances to modify.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_reserved_instances
ec2_modify_reserved_instances <- function(ReservedInstancesIds, ClientToken = NULL, TargetConfigurations) {
op <- new_operation(
name = "ModifyReservedInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_reserved_instances_input(ReservedInstancesIds = ReservedInstancesIds, ClientToken = ClientToken, TargetConfigurations = TargetConfigurations)
output <- .ec2$modify_reserved_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_reserved_instances <- ec2_modify_reserved_instances
#' Modifies the rules of a security group
#'
#' @description
#' Modifies the rules of a security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_security_group_rules/](https://www.paws-r-sdk.com/docs/ec2_modify_security_group_rules/) for full documentation.
#'
#' @param GroupId [required] The ID of the security group.
#' @param SecurityGroupRules [required] Information about the security group properties to update.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_security_group_rules
ec2_modify_security_group_rules <- function(GroupId, SecurityGroupRules, DryRun = NULL) {
op <- new_operation(
name = "ModifySecurityGroupRules",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_security_group_rules_input(GroupId = GroupId, SecurityGroupRules = SecurityGroupRules, DryRun = DryRun)
output <- .ec2$modify_security_group_rules_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_security_group_rules <- ec2_modify_security_group_rules
#' Adds or removes permission settings for the specified snapshot
#'
#' @description
#' Adds or removes permission settings for the specified snapshot. You may add or remove specified Amazon Web Services account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single operation. If you need to both add and remove account IDs for a snapshot, you must use multiple operations. You can make up to 500 modifications to a snapshot in a single operation.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_snapshot_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_snapshot_attribute/) for full documentation.
#'
#' @param Attribute The snapshot attribute to modify. Only volume creation permissions can
#' be modified.
#' @param CreateVolumePermission A JSON representation of the snapshot attribute modification.
#' @param GroupNames The group to modify for the snapshot.
#' @param OperationType The type of operation to perform to the attribute.
#' @param SnapshotId [required] The ID of the snapshot.
#' @param UserIds The account ID to modify for the snapshot.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_snapshot_attribute
ec2_modify_snapshot_attribute <- function(Attribute = NULL, CreateVolumePermission = NULL, GroupNames = NULL, OperationType = NULL, SnapshotId, UserIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifySnapshotAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_snapshot_attribute_input(Attribute = Attribute, CreateVolumePermission = CreateVolumePermission, GroupNames = GroupNames, OperationType = OperationType, SnapshotId = SnapshotId, UserIds = UserIds, DryRun = DryRun)
output <- .ec2$modify_snapshot_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_snapshot_attribute <- ec2_modify_snapshot_attribute
#' Archives an Amazon EBS snapshot
#'
#' @description
#' Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a full snapshot that includes all of the blocks of data that were written to the volume at the time the snapshot was created, and moved from the standard tier to the archive tier. For more information, see [Archive Amazon EBS snapshots](https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html) in the *Amazon EBS User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_snapshot_tier/](https://www.paws-r-sdk.com/docs/ec2_modify_snapshot_tier/) for full documentation.
#'
#' @param SnapshotId [required] The ID of the snapshot.
#' @param StorageTier The name of the storage tier. You must specify `archive`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_snapshot_tier
ec2_modify_snapshot_tier <- function(SnapshotId, StorageTier = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifySnapshotTier",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_snapshot_tier_input(SnapshotId = SnapshotId, StorageTier = StorageTier, DryRun = DryRun)
output <- .ec2$modify_snapshot_tier_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_snapshot_tier <- ec2_modify_snapshot_tier
#' Modifies the specified Spot Fleet request
#'
#' @description
#' Modifies the specified Spot Fleet request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_spot_fleet_request/](https://www.paws-r-sdk.com/docs/ec2_modify_spot_fleet_request/) for full documentation.
#'
#' @param ExcessCapacityTerminationPolicy Indicates whether running instances should be terminated if the target
#' capacity of the Spot Fleet request is decreased below the current size
#' of the Spot Fleet.
#'
#' Supported only for fleets of type `maintain`.
#' @param LaunchTemplateConfigs The launch template and overrides. You can only use this parameter if
#' you specified a launch template (`LaunchTemplateConfigs`) in your Spot
#' Fleet request. If you specified `LaunchSpecifications` in your Spot
#' Fleet request, then omit this parameter.
#' @param SpotFleetRequestId [required] The ID of the Spot Fleet request.
#' @param TargetCapacity The size of the fleet.
#' @param OnDemandTargetCapacity The number of On-Demand Instances in the fleet.
#' @param Context Reserved.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_spot_fleet_request
ec2_modify_spot_fleet_request <- function(ExcessCapacityTerminationPolicy = NULL, LaunchTemplateConfigs = NULL, SpotFleetRequestId, TargetCapacity = NULL, OnDemandTargetCapacity = NULL, Context = NULL) {
op <- new_operation(
name = "ModifySpotFleetRequest",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_spot_fleet_request_input(ExcessCapacityTerminationPolicy = ExcessCapacityTerminationPolicy, LaunchTemplateConfigs = LaunchTemplateConfigs, SpotFleetRequestId = SpotFleetRequestId, TargetCapacity = TargetCapacity, OnDemandTargetCapacity = OnDemandTargetCapacity, Context = Context)
output <- .ec2$modify_spot_fleet_request_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_spot_fleet_request <- ec2_modify_spot_fleet_request
#' Modifies a subnet attribute
#'
#' @description
#' Modifies a subnet attribute. You can only modify one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_subnet_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_subnet_attribute/) for full documentation.
#'
#' @param AssignIpv6AddressOnCreation Specify `true` to indicate that network interfaces created in the
#' specified subnet should be assigned an IPv6 address. This includes a
#' network interface that's created when launching an instance into the
#' subnet (the instance therefore receives an IPv6 address).
#'
#' If you enable the IPv6 addressing feature for your subnet, your network
#' interface or instance only receives an IPv6 address if it's created
#' using version `2016-11-15` or later of the Amazon EC2 API.
#' @param MapPublicIpOnLaunch Specify `true` to indicate that network interfaces attached to instances
#' created in the specified subnet should be assigned a public IPv4
#' address.
#'
#' Amazon Web Services charges for all public IPv4 addresses, including
#' public IPv4 addresses associated with running instances and Elastic IP
#' addresses. For more information, see the *Public IPv4 Address* tab on
#' the [Amazon VPC pricing page](https://aws.amazon.com/vpc/pricing/).
#' @param SubnetId [required] The ID of the subnet.
#' @param MapCustomerOwnedIpOnLaunch Specify `true` to indicate that network interfaces attached to instances
#' created in the specified subnet should be assigned a customer-owned IPv4
#' address.
#'
#' When this value is `true`, you must specify the customer-owned IP pool
#' using `CustomerOwnedIpv4Pool`.
#' @param CustomerOwnedIpv4Pool The customer-owned IPv4 address pool associated with the subnet.
#'
#' You must set this value when you specify `true` for
#' `MapCustomerOwnedIpOnLaunch`.
#' @param EnableDns64 Indicates whether DNS queries made to the Amazon-provided DNS Resolver
#' in this subnet should return synthetic IPv6 addresses for IPv4-only
#' destinations.
#' @param PrivateDnsHostnameTypeOnLaunch The type of hostname to assign to instances in the subnet at launch. For
#' IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name
#' can be based on the instance IPv4 address (ip-name) or the instance ID
#' (resource-name). For IPv6 only subnets, an instance DNS name must be
#' based on the instance ID (resource-name).
#' @param EnableResourceNameDnsARecordOnLaunch Indicates whether to respond to DNS queries for instance hostnames with
#' DNS A records.
#' @param EnableResourceNameDnsAAAARecordOnLaunch Indicates whether to respond to DNS queries for instance hostnames with
#' DNS AAAA records.
#' @param EnableLniAtDeviceIndex Indicates the device position for local network interfaces in this
#' subnet. For example, `1` indicates local network interfaces in this
#' subnet are the secondary network interface (eth1). A local network
#' interface cannot be the primary network interface (eth0).
#' @param DisableLniAtDeviceIndex Specify `true` to indicate that local network interfaces at the current
#' position should be disabled.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_subnet_attribute
ec2_modify_subnet_attribute <- function(AssignIpv6AddressOnCreation = NULL, MapPublicIpOnLaunch = NULL, SubnetId, MapCustomerOwnedIpOnLaunch = NULL, CustomerOwnedIpv4Pool = NULL, EnableDns64 = NULL, PrivateDnsHostnameTypeOnLaunch = NULL, EnableResourceNameDnsARecordOnLaunch = NULL, EnableResourceNameDnsAAAARecordOnLaunch = NULL, EnableLniAtDeviceIndex = NULL, DisableLniAtDeviceIndex = NULL) {
op <- new_operation(
name = "ModifySubnetAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_subnet_attribute_input(AssignIpv6AddressOnCreation = AssignIpv6AddressOnCreation, MapPublicIpOnLaunch = MapPublicIpOnLaunch, SubnetId = SubnetId, MapCustomerOwnedIpOnLaunch = MapCustomerOwnedIpOnLaunch, CustomerOwnedIpv4Pool = CustomerOwnedIpv4Pool, EnableDns64 = EnableDns64, PrivateDnsHostnameTypeOnLaunch = PrivateDnsHostnameTypeOnLaunch, EnableResourceNameDnsARecordOnLaunch = EnableResourceNameDnsARecordOnLaunch, EnableResourceNameDnsAAAARecordOnLaunch = EnableResourceNameDnsAAAARecordOnLaunch, EnableLniAtDeviceIndex = EnableLniAtDeviceIndex, DisableLniAtDeviceIndex = DisableLniAtDeviceIndex)
output <- .ec2$modify_subnet_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_subnet_attribute <- ec2_modify_subnet_attribute
#' Allows or restricts mirroring network services
#'
#' @description
#' Allows or restricts mirroring network services.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_traffic_mirror_filter_network_services/](https://www.paws-r-sdk.com/docs/ec2_modify_traffic_mirror_filter_network_services/) for full documentation.
#'
#' @param TrafficMirrorFilterId [required] The ID of the Traffic Mirror filter.
#' @param AddNetworkServices The network service, for example Amazon DNS, that you want to mirror.
#' @param RemoveNetworkServices The network service, for example Amazon DNS, that you no longer want to
#' mirror.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_traffic_mirror_filter_network_services
ec2_modify_traffic_mirror_filter_network_services <- function(TrafficMirrorFilterId, AddNetworkServices = NULL, RemoveNetworkServices = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyTrafficMirrorFilterNetworkServices",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_traffic_mirror_filter_network_services_input(TrafficMirrorFilterId = TrafficMirrorFilterId, AddNetworkServices = AddNetworkServices, RemoveNetworkServices = RemoveNetworkServices, DryRun = DryRun)
output <- .ec2$modify_traffic_mirror_filter_network_services_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_traffic_mirror_filter_network_services <- ec2_modify_traffic_mirror_filter_network_services
#' Modifies the specified Traffic Mirror rule
#'
#' @description
#' Modifies the specified Traffic Mirror rule.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_traffic_mirror_filter_rule/](https://www.paws-r-sdk.com/docs/ec2_modify_traffic_mirror_filter_rule/) for full documentation.
#'
#' @param TrafficMirrorFilterRuleId [required] The ID of the Traffic Mirror rule.
#' @param TrafficDirection The type of traffic to assign to the rule.
#' @param RuleNumber The number of the Traffic Mirror rule. This number must be unique for
#' each Traffic Mirror rule in a given direction. The rules are processed
#' in ascending order by rule number.
#' @param RuleAction The action to assign to the rule.
#' @param DestinationPortRange The destination ports that are associated with the Traffic Mirror rule.
#' @param SourcePortRange The port range to assign to the Traffic Mirror rule.
#' @param Protocol The protocol, for example TCP, to assign to the Traffic Mirror rule.
#' @param DestinationCidrBlock The destination CIDR block to assign to the Traffic Mirror rule.
#' @param SourceCidrBlock The source CIDR block to assign to the Traffic Mirror rule.
#' @param Description The description to assign to the Traffic Mirror rule.
#' @param RemoveFields The properties that you want to remove from the Traffic Mirror filter
#' rule.
#'
#' When you remove a property from a Traffic Mirror filter rule, the
#' property is set to the default.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_traffic_mirror_filter_rule
ec2_modify_traffic_mirror_filter_rule <- function(TrafficMirrorFilterRuleId, TrafficDirection = NULL, RuleNumber = NULL, RuleAction = NULL, DestinationPortRange = NULL, SourcePortRange = NULL, Protocol = NULL, DestinationCidrBlock = NULL, SourceCidrBlock = NULL, Description = NULL, RemoveFields = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyTrafficMirrorFilterRule",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_traffic_mirror_filter_rule_input(TrafficMirrorFilterRuleId = TrafficMirrorFilterRuleId, TrafficDirection = TrafficDirection, RuleNumber = RuleNumber, RuleAction = RuleAction, DestinationPortRange = DestinationPortRange, SourcePortRange = SourcePortRange, Protocol = Protocol, DestinationCidrBlock = DestinationCidrBlock, SourceCidrBlock = SourceCidrBlock, Description = Description, RemoveFields = RemoveFields, DryRun = DryRun)
output <- .ec2$modify_traffic_mirror_filter_rule_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_traffic_mirror_filter_rule <- ec2_modify_traffic_mirror_filter_rule
#' Modifies a Traffic Mirror session
#'
#' @description
#' Modifies a Traffic Mirror session.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_traffic_mirror_session/](https://www.paws-r-sdk.com/docs/ec2_modify_traffic_mirror_session/) for full documentation.
#'
#' @param TrafficMirrorSessionId [required] The ID of the Traffic Mirror session.
#' @param TrafficMirrorTargetId The Traffic Mirror target. The target must be in the same VPC as the
#' source, or have a VPC peering connection with the source.
#' @param TrafficMirrorFilterId The ID of the Traffic Mirror filter.
#' @param PacketLength The number of bytes in each packet to mirror. These are bytes after the
#' VXLAN header. To mirror a subset, set this to the length (in bytes) to
#' mirror. For example, if you set this value to 100, then the first 100
#' bytes that meet the filter criteria are copied to the target. Do not
#' specify this parameter when you want to mirror the entire packet.
#'
#' For sessions with Network Load Balancer (NLB) traffic mirror targets,
#' the default `PacketLength` will be set to 8500. Valid values are 1-8500.
#' Setting a `PacketLength` greater than 8500 will result in an error
#' response.
#' @param SessionNumber The session number determines the order in which sessions are evaluated
#' when an interface is used by multiple sessions. The first session with a
#' matching filter is the one that mirrors the packets.
#'
#' Valid values are 1-32766.
#' @param VirtualNetworkId The virtual network ID of the Traffic Mirror session.
#' @param Description The description to assign to the Traffic Mirror session.
#' @param RemoveFields The properties that you want to remove from the Traffic Mirror session.
#'
#' When you remove a property from a Traffic Mirror session, the property
#' is set to the default.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_traffic_mirror_session
ec2_modify_traffic_mirror_session <- function(TrafficMirrorSessionId, TrafficMirrorTargetId = NULL, TrafficMirrorFilterId = NULL, PacketLength = NULL, SessionNumber = NULL, VirtualNetworkId = NULL, Description = NULL, RemoveFields = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyTrafficMirrorSession",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_traffic_mirror_session_input(TrafficMirrorSessionId = TrafficMirrorSessionId, TrafficMirrorTargetId = TrafficMirrorTargetId, TrafficMirrorFilterId = TrafficMirrorFilterId, PacketLength = PacketLength, SessionNumber = SessionNumber, VirtualNetworkId = VirtualNetworkId, Description = Description, RemoveFields = RemoveFields, DryRun = DryRun)
output <- .ec2$modify_traffic_mirror_session_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_traffic_mirror_session <- ec2_modify_traffic_mirror_session
#' Modifies the specified transit gateway
#'
#' @description
#' Modifies the specified transit gateway. When you modify a transit gateway, the modified options are applied to new transit gateway attachments only. Your existing transit gateway attachments are not modified.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway/](https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway/) for full documentation.
#'
#' @param TransitGatewayId [required] The ID of the transit gateway.
#' @param Description The description for the transit gateway.
#' @param Options The options to modify.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_transit_gateway
ec2_modify_transit_gateway <- function(TransitGatewayId, Description = NULL, Options = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyTransitGateway",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_transit_gateway_input(TransitGatewayId = TransitGatewayId, Description = Description, Options = Options, DryRun = DryRun)
output <- .ec2$modify_transit_gateway_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_transit_gateway <- ec2_modify_transit_gateway
#' Modifies a reference (route) to a prefix list in a specified transit
#' gateway route table
#'
#' @description
#' Modifies a reference (route) to a prefix list in a specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway_prefix_list_reference/](https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway_prefix_list_reference/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param PrefixListId [required] The ID of the prefix list.
#' @param TransitGatewayAttachmentId The ID of the attachment to which traffic is routed.
#' @param Blackhole Indicates whether to drop traffic that matches this route.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_transit_gateway_prefix_list_reference
ec2_modify_transit_gateway_prefix_list_reference <- function(TransitGatewayRouteTableId, PrefixListId, TransitGatewayAttachmentId = NULL, Blackhole = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyTransitGatewayPrefixListReference",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_transit_gateway_prefix_list_reference_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, PrefixListId = PrefixListId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, Blackhole = Blackhole, DryRun = DryRun)
output <- .ec2$modify_transit_gateway_prefix_list_reference_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_transit_gateway_prefix_list_reference <- ec2_modify_transit_gateway_prefix_list_reference
#' Modifies the specified VPC attachment
#'
#' @description
#' Modifies the specified VPC attachment.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway_vpc_attachment/](https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway_vpc_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param AddSubnetIds The IDs of one or more subnets to add. You can specify at most one
#' subnet per Availability Zone.
#' @param RemoveSubnetIds The IDs of one or more subnets to remove.
#' @param Options The new VPC attachment options.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_transit_gateway_vpc_attachment
ec2_modify_transit_gateway_vpc_attachment <- function(TransitGatewayAttachmentId, AddSubnetIds = NULL, RemoveSubnetIds = NULL, Options = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyTransitGatewayVpcAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_transit_gateway_vpc_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, AddSubnetIds = AddSubnetIds, RemoveSubnetIds = RemoveSubnetIds, Options = Options, DryRun = DryRun)
output <- .ec2$modify_transit_gateway_vpc_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_transit_gateway_vpc_attachment <- ec2_modify_transit_gateway_vpc_attachment
#' Modifies the configuration of the specified Amazon Web Services Verified
#' Access endpoint
#'
#' @description
#' Modifies the configuration of the specified Amazon Web Services Verified Access endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_endpoint/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_endpoint/) for full documentation.
#'
#' @param VerifiedAccessEndpointId [required] The ID of the Verified Access endpoint.
#' @param VerifiedAccessGroupId The ID of the Verified Access group.
#' @param LoadBalancerOptions The load balancer details if creating the Verified Access endpoint as
#' `load-balancer`type.
#' @param NetworkInterfaceOptions The network interface options.
#' @param Description A description for the Verified Access endpoint.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_endpoint
ec2_modify_verified_access_endpoint <- function(VerifiedAccessEndpointId, VerifiedAccessGroupId = NULL, LoadBalancerOptions = NULL, NetworkInterfaceOptions = NULL, Description = NULL, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_endpoint_input(VerifiedAccessEndpointId = VerifiedAccessEndpointId, VerifiedAccessGroupId = VerifiedAccessGroupId, LoadBalancerOptions = LoadBalancerOptions, NetworkInterfaceOptions = NetworkInterfaceOptions, Description = Description, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$modify_verified_access_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_endpoint <- ec2_modify_verified_access_endpoint
#' Modifies the specified Amazon Web Services Verified Access endpoint
#' policy
#'
#' @description
#' Modifies the specified Amazon Web Services Verified Access endpoint policy.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_endpoint_policy/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_endpoint_policy/) for full documentation.
#'
#' @param VerifiedAccessEndpointId [required] The ID of the Verified Access endpoint.
#' @param PolicyEnabled The status of the Verified Access policy.
#' @param PolicyDocument The Verified Access policy document.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SseSpecification The options for server side encryption.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_endpoint_policy
ec2_modify_verified_access_endpoint_policy <- function(VerifiedAccessEndpointId, PolicyEnabled = NULL, PolicyDocument = NULL, ClientToken = NULL, DryRun = NULL, SseSpecification = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessEndpointPolicy",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_endpoint_policy_input(VerifiedAccessEndpointId = VerifiedAccessEndpointId, PolicyEnabled = PolicyEnabled, PolicyDocument = PolicyDocument, ClientToken = ClientToken, DryRun = DryRun, SseSpecification = SseSpecification)
output <- .ec2$modify_verified_access_endpoint_policy_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_endpoint_policy <- ec2_modify_verified_access_endpoint_policy
#' Modifies the specified Amazon Web Services Verified Access group
#' configuration
#'
#' @description
#' Modifies the specified Amazon Web Services Verified Access group configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_group/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_group/) for full documentation.
#'
#' @param VerifiedAccessGroupId [required] The ID of the Verified Access group.
#' @param VerifiedAccessInstanceId The ID of the Verified Access instance.
#' @param Description A description for the Verified Access group.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_group
ec2_modify_verified_access_group <- function(VerifiedAccessGroupId, VerifiedAccessInstanceId = NULL, Description = NULL, ClientToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessGroup",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_group_input(VerifiedAccessGroupId = VerifiedAccessGroupId, VerifiedAccessInstanceId = VerifiedAccessInstanceId, Description = Description, ClientToken = ClientToken, DryRun = DryRun)
output <- .ec2$modify_verified_access_group_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_group <- ec2_modify_verified_access_group
#' Modifies the specified Amazon Web Services Verified Access group policy
#'
#' @description
#' Modifies the specified Amazon Web Services Verified Access group policy.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_group_policy/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_group_policy/) for full documentation.
#'
#' @param VerifiedAccessGroupId [required] The ID of the Verified Access group.
#' @param PolicyEnabled The status of the Verified Access policy.
#' @param PolicyDocument The Verified Access policy document.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SseSpecification The options for server side encryption.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_group_policy
ec2_modify_verified_access_group_policy <- function(VerifiedAccessGroupId, PolicyEnabled = NULL, PolicyDocument = NULL, ClientToken = NULL, DryRun = NULL, SseSpecification = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessGroupPolicy",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_group_policy_input(VerifiedAccessGroupId = VerifiedAccessGroupId, PolicyEnabled = PolicyEnabled, PolicyDocument = PolicyDocument, ClientToken = ClientToken, DryRun = DryRun, SseSpecification = SseSpecification)
output <- .ec2$modify_verified_access_group_policy_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_group_policy <- ec2_modify_verified_access_group_policy
#' Modifies the configuration of the specified Amazon Web Services Verified
#' Access instance
#'
#' @description
#' Modifies the configuration of the specified Amazon Web Services Verified Access instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_instance/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_instance/) for full documentation.
#'
#' @param VerifiedAccessInstanceId [required] The ID of the Verified Access instance.
#' @param Description A description for the Verified Access instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_instance
ec2_modify_verified_access_instance <- function(VerifiedAccessInstanceId, Description = NULL, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessInstance",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_instance_input(VerifiedAccessInstanceId = VerifiedAccessInstanceId, Description = Description, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$modify_verified_access_instance_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_instance <- ec2_modify_verified_access_instance
#' Modifies the logging configuration for the specified Amazon Web Services
#' Verified Access instance
#'
#' @description
#' Modifies the logging configuration for the specified Amazon Web Services Verified Access instance.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_instance_logging_configuration/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_instance_logging_configuration/) for full documentation.
#'
#' @param VerifiedAccessInstanceId [required] The ID of the Verified Access instance.
#' @param AccessLogs [required] The configuration options for Verified Access instances.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_instance_logging_configuration
ec2_modify_verified_access_instance_logging_configuration <- function(VerifiedAccessInstanceId, AccessLogs, DryRun = NULL, ClientToken = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessInstanceLoggingConfiguration",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_instance_logging_configuration_input(VerifiedAccessInstanceId = VerifiedAccessInstanceId, AccessLogs = AccessLogs, DryRun = DryRun, ClientToken = ClientToken)
output <- .ec2$modify_verified_access_instance_logging_configuration_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_instance_logging_configuration <- ec2_modify_verified_access_instance_logging_configuration
#' Modifies the configuration of the specified Amazon Web Services Verified
#' Access trust provider
#'
#' @description
#' Modifies the configuration of the specified Amazon Web Services Verified Access trust provider.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_trust_provider/](https://www.paws-r-sdk.com/docs/ec2_modify_verified_access_trust_provider/) for full documentation.
#'
#' @param VerifiedAccessTrustProviderId [required] The ID of the Verified Access trust provider.
#' @param OidcOptions The options for an OpenID Connect-compatible user-identity trust
#' provider.
#' @param DeviceOptions The options for a device-based trust provider. This parameter is
#' required when the provider type is `device`.
#' @param Description A description for the Verified Access trust provider.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ClientToken A unique, case-sensitive token that you provide to ensure idempotency of
#' your modification request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param SseSpecification The options for server side encryption.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_verified_access_trust_provider
ec2_modify_verified_access_trust_provider <- function(VerifiedAccessTrustProviderId, OidcOptions = NULL, DeviceOptions = NULL, Description = NULL, DryRun = NULL, ClientToken = NULL, SseSpecification = NULL) {
op <- new_operation(
name = "ModifyVerifiedAccessTrustProvider",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_verified_access_trust_provider_input(VerifiedAccessTrustProviderId = VerifiedAccessTrustProviderId, OidcOptions = OidcOptions, DeviceOptions = DeviceOptions, Description = Description, DryRun = DryRun, ClientToken = ClientToken, SseSpecification = SseSpecification)
output <- .ec2$modify_verified_access_trust_provider_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_verified_access_trust_provider <- ec2_modify_verified_access_trust_provider
#' You can modify several parameters of an existing EBS volume, including
#' volume size, volume type, and IOPS capacity
#'
#' @description
#' You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance type, you might be able to apply these changes without stopping the instance or detaching the volume from it. For more information about modifying EBS volumes, see [Amazon EBS Elastic Volumes](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modify-volume.html) in the *Amazon EBS User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_volume/](https://www.paws-r-sdk.com/docs/ec2_modify_volume/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VolumeId [required] The ID of the volume.
#' @param Size The target size of the volume, in GiB. The target volume size must be
#' greater than or equal to the existing size of the volume.
#'
#' The following are the supported volumes sizes for each volume type:
#'
#' - `gp2` and `gp3`: 1 - 16,384 GiB
#'
#' - `io1`: 4 - 16,384 GiB
#'
#' - `io2`: 4 - 65,536 GiB
#'
#' - `st1` and `sc1`: 125 - 16,384 GiB
#'
#' - `standard`: 1 - 1024 GiB
#'
#' Default: The existing size is retained.
#' @param VolumeType The target EBS volume type of the volume. For more information, see
#' [Amazon EBS volume
#' types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html)
#' in the *Amazon EBS User Guide*.
#'
#' Default: The existing type is retained.
#' @param Iops The target IOPS rate of the volume. This parameter is valid only for
#' `gp3`, `io1`, and `io2` volumes.
#'
#' The following are the supported values for each volume type:
#'
#' - `gp3`: 3,000 - 16,000 IOPS
#'
#' - `io1`: 100 - 64,000 IOPS
#'
#' - `io2`: 100 - 256,000 IOPS
#'
#' For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
#' built on the Nitro
#' System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
#' On other instances, you can achieve performance up to 32,000 IOPS.
#'
#' Default: The existing value is retained if you keep the same volume
#' type. If you change the volume type to `io1`, `io2`, or `gp3`, the
#' default is 3,000.
#' @param Throughput The target throughput of the volume, in MiB/s. This parameter is valid
#' only for `gp3` volumes. The maximum value is 1,000.
#'
#' Default: The existing value is retained if the source and target volume
#' type is `gp3`. Otherwise, the default value is 125.
#'
#' Valid Range: Minimum value of 125. Maximum value of 1000.
#' @param MultiAttachEnabled Specifies whether to enable Amazon EBS Multi-Attach. If you enable
#' Multi-Attach, you can attach the volume to up to 16 [Nitro-based
#' instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances)
#' in the same Availability Zone. This parameter is supported with `io1`
#' and `io2` volumes only. For more information, see [Amazon EBS
#' Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html)
#' in the *Amazon EBS User Guide*.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_volume
ec2_modify_volume <- function(DryRun = NULL, VolumeId, Size = NULL, VolumeType = NULL, Iops = NULL, Throughput = NULL, MultiAttachEnabled = NULL) {
op <- new_operation(
name = "ModifyVolume",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_volume_input(DryRun = DryRun, VolumeId = VolumeId, Size = Size, VolumeType = VolumeType, Iops = Iops, Throughput = Throughput, MultiAttachEnabled = MultiAttachEnabled)
output <- .ec2$modify_volume_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_volume <- ec2_modify_volume
#' Modifies a volume attribute
#'
#' @description
#' Modifies a volume attribute.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_volume_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_volume_attribute/) for full documentation.
#'
#' @param AutoEnableIO Indicates whether the volume should be auto-enabled for I/O operations.
#' @param VolumeId [required] The ID of the volume.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_volume_attribute
ec2_modify_volume_attribute <- function(AutoEnableIO = NULL, VolumeId, DryRun = NULL) {
op <- new_operation(
name = "ModifyVolumeAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_volume_attribute_input(AutoEnableIO = AutoEnableIO, VolumeId = VolumeId, DryRun = DryRun)
output <- .ec2$modify_volume_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_volume_attribute <- ec2_modify_volume_attribute
#' Modifies the specified attribute of the specified VPC
#'
#' @description
#' Modifies the specified attribute of the specified VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_attribute/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_attribute/) for full documentation.
#'
#' @param EnableDnsHostnames Indicates whether the instances launched in the VPC get DNS hostnames.
#' If enabled, instances in the VPC get DNS hostnames; otherwise, they do
#' not.
#'
#' You cannot modify the DNS resolution and DNS hostnames attributes in the
#' same request. Use separate requests for each attribute. You can only
#' enable DNS hostnames if you've enabled DNS support.
#' @param EnableDnsSupport Indicates whether the DNS resolution is supported for the VPC. If
#' enabled, queries to the Amazon provided DNS server at the
#' 169.254.169.253 IP address, or the reserved IP address at the base of
#' the VPC network range "plus two" succeed. If disabled, the Amazon
#' provided DNS service in the VPC that resolves public DNS hostnames to IP
#' addresses is not enabled.
#'
#' You cannot modify the DNS resolution and DNS hostnames attributes in the
#' same request. Use separate requests for each attribute.
#' @param VpcId [required] The ID of the VPC.
#' @param EnableNetworkAddressUsageMetrics Indicates whether Network Address Usage metrics are enabled for your
#' VPC.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_attribute
ec2_modify_vpc_attribute <- function(EnableDnsHostnames = NULL, EnableDnsSupport = NULL, VpcId, EnableNetworkAddressUsageMetrics = NULL) {
op <- new_operation(
name = "ModifyVpcAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_attribute_input(EnableDnsHostnames = EnableDnsHostnames, EnableDnsSupport = EnableDnsSupport, VpcId = VpcId, EnableNetworkAddressUsageMetrics = EnableNetworkAddressUsageMetrics)
output <- .ec2$modify_vpc_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_attribute <- ec2_modify_vpc_attribute
#' Modifies attributes of a specified VPC endpoint
#'
#' @description
#' Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see the [Amazon Web Services PrivateLink Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcEndpointId [required] The ID of the endpoint.
#' @param ResetPolicy (Gateway endpoint) Specify `true` to reset the policy document to the
#' default policy. The default policy allows full access to the service.
#' @param PolicyDocument (Interface and gateway endpoints) A policy to attach to the endpoint
#' that controls access to the service. The policy must be in valid JSON
#' format.
#' @param AddRouteTableIds (Gateway endpoint) The IDs of the route tables to associate with the
#' endpoint.
#' @param RemoveRouteTableIds (Gateway endpoint) The IDs of the route tables to disassociate from the
#' endpoint.
#' @param AddSubnetIds (Interface and Gateway Load Balancer endpoints) The IDs of the subnets
#' in which to serve the endpoint. For a Gateway Load Balancer endpoint,
#' you can specify only one subnet.
#' @param RemoveSubnetIds (Interface endpoint) The IDs of the subnets from which to remove the
#' endpoint.
#' @param AddSecurityGroupIds (Interface endpoint) The IDs of the security groups to associate with
#' the endpoint network interfaces.
#' @param RemoveSecurityGroupIds (Interface endpoint) The IDs of the security groups to disassociate from
#' the endpoint network interfaces.
#' @param IpAddressType The IP address type for the endpoint.
#' @param DnsOptions The DNS options for the endpoint.
#' @param PrivateDnsEnabled (Interface endpoint) Indicates whether a private hosted zone is
#' associated with the VPC.
#' @param SubnetConfigurations The subnet configurations for the endpoint.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_endpoint
ec2_modify_vpc_endpoint <- function(DryRun = NULL, VpcEndpointId, ResetPolicy = NULL, PolicyDocument = NULL, AddRouteTableIds = NULL, RemoveRouteTableIds = NULL, AddSubnetIds = NULL, RemoveSubnetIds = NULL, AddSecurityGroupIds = NULL, RemoveSecurityGroupIds = NULL, IpAddressType = NULL, DnsOptions = NULL, PrivateDnsEnabled = NULL, SubnetConfigurations = NULL) {
op <- new_operation(
name = "ModifyVpcEndpoint",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_endpoint_input(DryRun = DryRun, VpcEndpointId = VpcEndpointId, ResetPolicy = ResetPolicy, PolicyDocument = PolicyDocument, AddRouteTableIds = AddRouteTableIds, RemoveRouteTableIds = RemoveRouteTableIds, AddSubnetIds = AddSubnetIds, RemoveSubnetIds = RemoveSubnetIds, AddSecurityGroupIds = AddSecurityGroupIds, RemoveSecurityGroupIds = RemoveSecurityGroupIds, IpAddressType = IpAddressType, DnsOptions = DnsOptions, PrivateDnsEnabled = PrivateDnsEnabled, SubnetConfigurations = SubnetConfigurations)
output <- .ec2$modify_vpc_endpoint_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_endpoint <- ec2_modify_vpc_endpoint
#' Modifies a connection notification for VPC endpoint or VPC endpoint
#' service
#'
#' @description
#' Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_connection_notification/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_connection_notification/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ConnectionNotificationId [required] The ID of the notification.
#' @param ConnectionNotificationArn The ARN for the SNS topic for the notification.
#' @param ConnectionEvents The events for the endpoint. Valid values are `Accept`, `Connect`,
#' `Delete`, and `Reject`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_endpoint_connection_notification
ec2_modify_vpc_endpoint_connection_notification <- function(DryRun = NULL, ConnectionNotificationId, ConnectionNotificationArn = NULL, ConnectionEvents = NULL) {
op <- new_operation(
name = "ModifyVpcEndpointConnectionNotification",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_endpoint_connection_notification_input(DryRun = DryRun, ConnectionNotificationId = ConnectionNotificationId, ConnectionNotificationArn = ConnectionNotificationArn, ConnectionEvents = ConnectionEvents)
output <- .ec2$modify_vpc_endpoint_connection_notification_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_endpoint_connection_notification <- ec2_modify_vpc_endpoint_connection_notification
#' Modifies the attributes of your VPC endpoint service configuration
#'
#' @description
#' Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_configuration/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_configuration/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the service.
#' @param PrivateDnsName (Interface endpoint configuration) The private DNS name to assign to the
#' endpoint service.
#' @param RemovePrivateDnsName (Interface endpoint configuration) Removes the private DNS name of the
#' endpoint service.
#' @param AcceptanceRequired Indicates whether requests to create an endpoint to your service must be
#' accepted.
#' @param AddNetworkLoadBalancerArns The Amazon Resource Names (ARNs) of Network Load Balancers to add to
#' your service configuration.
#' @param RemoveNetworkLoadBalancerArns The Amazon Resource Names (ARNs) of Network Load Balancers to remove
#' from your service configuration.
#' @param AddGatewayLoadBalancerArns The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to
#' your service configuration.
#' @param RemoveGatewayLoadBalancerArns The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove
#' from your service configuration.
#' @param AddSupportedIpAddressTypes The IP address types to add to your service configuration.
#' @param RemoveSupportedIpAddressTypes The IP address types to remove from your service configuration.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_endpoint_service_configuration
ec2_modify_vpc_endpoint_service_configuration <- function(DryRun = NULL, ServiceId, PrivateDnsName = NULL, RemovePrivateDnsName = NULL, AcceptanceRequired = NULL, AddNetworkLoadBalancerArns = NULL, RemoveNetworkLoadBalancerArns = NULL, AddGatewayLoadBalancerArns = NULL, RemoveGatewayLoadBalancerArns = NULL, AddSupportedIpAddressTypes = NULL, RemoveSupportedIpAddressTypes = NULL) {
op <- new_operation(
name = "ModifyVpcEndpointServiceConfiguration",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_endpoint_service_configuration_input(DryRun = DryRun, ServiceId = ServiceId, PrivateDnsName = PrivateDnsName, RemovePrivateDnsName = RemovePrivateDnsName, AcceptanceRequired = AcceptanceRequired, AddNetworkLoadBalancerArns = AddNetworkLoadBalancerArns, RemoveNetworkLoadBalancerArns = RemoveNetworkLoadBalancerArns, AddGatewayLoadBalancerArns = AddGatewayLoadBalancerArns, RemoveGatewayLoadBalancerArns = RemoveGatewayLoadBalancerArns, AddSupportedIpAddressTypes = AddSupportedIpAddressTypes, RemoveSupportedIpAddressTypes = RemoveSupportedIpAddressTypes)
output <- .ec2$modify_vpc_endpoint_service_configuration_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_endpoint_service_configuration <- ec2_modify_vpc_endpoint_service_configuration
#' Modifies the payer responsibility for your VPC endpoint service
#'
#' @description
#' Modifies the payer responsibility for your VPC endpoint service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_payer_responsibility/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_payer_responsibility/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the service.
#' @param PayerResponsibility [required] The entity that is responsible for the endpoint costs. The default is
#' the endpoint owner. If you set the payer responsibility to the service
#' owner, you cannot set it back to the endpoint owner.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_endpoint_service_payer_responsibility
ec2_modify_vpc_endpoint_service_payer_responsibility <- function(DryRun = NULL, ServiceId, PayerResponsibility) {
op <- new_operation(
name = "ModifyVpcEndpointServicePayerResponsibility",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_endpoint_service_payer_responsibility_input(DryRun = DryRun, ServiceId = ServiceId, PayerResponsibility = PayerResponsibility)
output <- .ec2$modify_vpc_endpoint_service_payer_responsibility_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_endpoint_service_payer_responsibility <- ec2_modify_vpc_endpoint_service_payer_responsibility
#' Modifies the permissions for your VPC endpoint service
#'
#' @description
#' Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (Amazon Web Services accounts, users, and IAM roles) to connect to your endpoint service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_permissions/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_endpoint_service_permissions/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the service.
#' @param AddAllowedPrincipals The Amazon Resource Names (ARN) of the principals. Permissions are
#' granted to the principals in this list. To grant permissions to all
#' principals, specify an asterisk (*).
#' @param RemoveAllowedPrincipals The Amazon Resource Names (ARN) of the principals. Permissions are
#' revoked for principals in this list.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_endpoint_service_permissions
ec2_modify_vpc_endpoint_service_permissions <- function(DryRun = NULL, ServiceId, AddAllowedPrincipals = NULL, RemoveAllowedPrincipals = NULL) {
op <- new_operation(
name = "ModifyVpcEndpointServicePermissions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_endpoint_service_permissions_input(DryRun = DryRun, ServiceId = ServiceId, AddAllowedPrincipals = AddAllowedPrincipals, RemoveAllowedPrincipals = RemoveAllowedPrincipals)
output <- .ec2$modify_vpc_endpoint_service_permissions_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_endpoint_service_permissions <- ec2_modify_vpc_endpoint_service_permissions
#' Modifies the VPC peering connection options on one side of a VPC peering
#' connection
#'
#' @description
#' Modifies the VPC peering connection options on one side of a VPC peering connection.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_peering_connection_options/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_peering_connection_options/) for full documentation.
#'
#' @param AccepterPeeringConnectionOptions The VPC peering connection options for the accepter VPC.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RequesterPeeringConnectionOptions The VPC peering connection options for the requester VPC.
#' @param VpcPeeringConnectionId [required] The ID of the VPC peering connection.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_peering_connection_options
ec2_modify_vpc_peering_connection_options <- function(AccepterPeeringConnectionOptions = NULL, DryRun = NULL, RequesterPeeringConnectionOptions = NULL, VpcPeeringConnectionId) {
op <- new_operation(
name = "ModifyVpcPeeringConnectionOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_peering_connection_options_input(AccepterPeeringConnectionOptions = AccepterPeeringConnectionOptions, DryRun = DryRun, RequesterPeeringConnectionOptions = RequesterPeeringConnectionOptions, VpcPeeringConnectionId = VpcPeeringConnectionId)
output <- .ec2$modify_vpc_peering_connection_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_peering_connection_options <- ec2_modify_vpc_peering_connection_options
#' Modifies the instance tenancy attribute of the specified VPC
#'
#' @description
#' Modifies the instance tenancy attribute of the specified VPC. You can change the instance tenancy attribute of a VPC to `default` only. You cannot change the instance tenancy attribute to `dedicated`.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpc_tenancy/](https://www.paws-r-sdk.com/docs/ec2_modify_vpc_tenancy/) for full documentation.
#'
#' @param VpcId [required] The ID of the VPC.
#' @param InstanceTenancy [required] The instance tenancy attribute for the VPC.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpc_tenancy
ec2_modify_vpc_tenancy <- function(VpcId, InstanceTenancy, DryRun = NULL) {
op <- new_operation(
name = "ModifyVpcTenancy",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpc_tenancy_input(VpcId = VpcId, InstanceTenancy = InstanceTenancy, DryRun = DryRun)
output <- .ec2$modify_vpc_tenancy_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpc_tenancy <- ec2_modify_vpc_tenancy
#' Modifies the customer gateway or the target gateway of an Amazon Web
#' Services Site-to-Site VPN connection
#'
#' @description
#' Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site VPN connection. To modify the target gateway, the following migration options are available:
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpn_connection/](https://www.paws-r-sdk.com/docs/ec2_modify_vpn_connection/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the VPN connection.
#' @param TransitGatewayId The ID of the transit gateway.
#' @param CustomerGatewayId The ID of the customer gateway at your end of the VPN connection.
#' @param VpnGatewayId The ID of the virtual private gateway at the Amazon Web Services side of
#' the VPN connection.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpn_connection
ec2_modify_vpn_connection <- function(VpnConnectionId, TransitGatewayId = NULL, CustomerGatewayId = NULL, VpnGatewayId = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyVpnConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpn_connection_input(VpnConnectionId = VpnConnectionId, TransitGatewayId = TransitGatewayId, CustomerGatewayId = CustomerGatewayId, VpnGatewayId = VpnGatewayId, DryRun = DryRun)
output <- .ec2$modify_vpn_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpn_connection <- ec2_modify_vpn_connection
#' Modifies the connection options for your Site-to-Site VPN connection
#'
#' @description
#' Modifies the connection options for your Site-to-Site VPN connection.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpn_connection_options/](https://www.paws-r-sdk.com/docs/ec2_modify_vpn_connection_options/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the Site-to-Site VPN connection.
#' @param LocalIpv4NetworkCidr The IPv4 CIDR on the customer gateway (on-premises) side of the VPN
#' connection.
#'
#' Default: `0.0.0.0/0`
#' @param RemoteIpv4NetworkCidr The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
#'
#' Default: `0.0.0.0/0`
#' @param LocalIpv6NetworkCidr The IPv6 CIDR on the customer gateway (on-premises) side of the VPN
#' connection.
#'
#' Default: `::/0`
#' @param RemoteIpv6NetworkCidr The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
#'
#' Default: `::/0`
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpn_connection_options
ec2_modify_vpn_connection_options <- function(VpnConnectionId, LocalIpv4NetworkCidr = NULL, RemoteIpv4NetworkCidr = NULL, LocalIpv6NetworkCidr = NULL, RemoteIpv6NetworkCidr = NULL, DryRun = NULL) {
op <- new_operation(
name = "ModifyVpnConnectionOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpn_connection_options_input(VpnConnectionId = VpnConnectionId, LocalIpv4NetworkCidr = LocalIpv4NetworkCidr, RemoteIpv4NetworkCidr = RemoteIpv4NetworkCidr, LocalIpv6NetworkCidr = LocalIpv6NetworkCidr, RemoteIpv6NetworkCidr = RemoteIpv6NetworkCidr, DryRun = DryRun)
output <- .ec2$modify_vpn_connection_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpn_connection_options <- ec2_modify_vpn_connection_options
#' Modifies the VPN tunnel endpoint certificate
#'
#' @description
#' Modifies the VPN tunnel endpoint certificate.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpn_tunnel_certificate/](https://www.paws-r-sdk.com/docs/ec2_modify_vpn_tunnel_certificate/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the Amazon Web Services Site-to-Site VPN connection.
#' @param VpnTunnelOutsideIpAddress [required] The external IP address of the VPN tunnel.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpn_tunnel_certificate
ec2_modify_vpn_tunnel_certificate <- function(VpnConnectionId, VpnTunnelOutsideIpAddress, DryRun = NULL) {
op <- new_operation(
name = "ModifyVpnTunnelCertificate",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpn_tunnel_certificate_input(VpnConnectionId = VpnConnectionId, VpnTunnelOutsideIpAddress = VpnTunnelOutsideIpAddress, DryRun = DryRun)
output <- .ec2$modify_vpn_tunnel_certificate_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpn_tunnel_certificate <- ec2_modify_vpn_tunnel_certificate
#' Modifies the options for a VPN tunnel in an Amazon Web Services
#' Site-to-Site VPN connection
#'
#' @description
#' Modifies the options for a VPN tunnel in an Amazon Web Services Site-to-Site VPN connection. You can modify multiple options for a tunnel in a single request, but you can only modify one tunnel at a time. For more information, see [Site-to-Site VPN tunnel options for your Site-to-Site VPN connection](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPNTunnels.html) in the *Amazon Web Services Site-to-Site VPN User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_modify_vpn_tunnel_options/](https://www.paws-r-sdk.com/docs/ec2_modify_vpn_tunnel_options/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the Amazon Web Services Site-to-Site VPN connection.
#' @param VpnTunnelOutsideIpAddress [required] The external IP address of the VPN tunnel.
#' @param TunnelOptions [required] The tunnel options to modify.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SkipTunnelReplacement Choose whether or not to trigger immediate tunnel replacement. This is
#' only applicable when turning on or off `EnableTunnelLifecycleControl`.
#'
#' Valid values: `True` | `False`
#'
#' @keywords internal
#'
#' @rdname ec2_modify_vpn_tunnel_options
ec2_modify_vpn_tunnel_options <- function(VpnConnectionId, VpnTunnelOutsideIpAddress, TunnelOptions, DryRun = NULL, SkipTunnelReplacement = NULL) {
op <- new_operation(
name = "ModifyVpnTunnelOptions",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$modify_vpn_tunnel_options_input(VpnConnectionId = VpnConnectionId, VpnTunnelOutsideIpAddress = VpnTunnelOutsideIpAddress, TunnelOptions = TunnelOptions, DryRun = DryRun, SkipTunnelReplacement = SkipTunnelReplacement)
output <- .ec2$modify_vpn_tunnel_options_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$modify_vpn_tunnel_options <- ec2_modify_vpn_tunnel_options
#' Enables detailed monitoring for a running instance
#'
#' @description
#' Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see [Monitor your instances using CloudWatch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_monitor_instances/](https://www.paws-r-sdk.com/docs/ec2_monitor_instances/) for full documentation.
#'
#' @param InstanceIds [required] The IDs of the instances.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_monitor_instances
ec2_monitor_instances <- function(InstanceIds, DryRun = NULL) {
op <- new_operation(
name = "MonitorInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$monitor_instances_input(InstanceIds = InstanceIds, DryRun = DryRun)
output <- .ec2$monitor_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$monitor_instances <- ec2_monitor_instances
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_move_address_to_vpc/](https://www.paws-r-sdk.com/docs/ec2_move_address_to_vpc/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PublicIp [required] The Elastic IP address.
#'
#' @keywords internal
#'
#' @rdname ec2_move_address_to_vpc
ec2_move_address_to_vpc <- function(DryRun = NULL, PublicIp) {
op <- new_operation(
name = "MoveAddressToVpc",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$move_address_to_vpc_input(DryRun = DryRun, PublicIp = PublicIp)
output <- .ec2$move_address_to_vpc_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$move_address_to_vpc <- ec2_move_address_to_vpc
#' Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool
#'
#' @description
#' Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_move_byoip_cidr_to_ipam/](https://www.paws-r-sdk.com/docs/ec2_move_byoip_cidr_to_ipam/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param Cidr [required] The BYOIP CIDR.
#' @param IpamPoolId [required] The IPAM pool ID.
#' @param IpamPoolOwner [required] The Amazon Web Services account ID of the owner of the IPAM pool.
#'
#' @keywords internal
#'
#' @rdname ec2_move_byoip_cidr_to_ipam
ec2_move_byoip_cidr_to_ipam <- function(DryRun = NULL, Cidr, IpamPoolId, IpamPoolOwner) {
op <- new_operation(
name = "MoveByoipCidrToIpam",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$move_byoip_cidr_to_ipam_input(DryRun = DryRun, Cidr = Cidr, IpamPoolId = IpamPoolId, IpamPoolOwner = IpamPoolOwner)
output <- .ec2$move_byoip_cidr_to_ipam_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$move_byoip_cidr_to_ipam <- ec2_move_byoip_cidr_to_ipam
#' Provisions an IPv4 or IPv6 address range for use with your Amazon Web
#' Services resources through bring your own IP addresses (BYOIP) and
#' creates a corresponding address pool
#'
#' @description
#' Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using [`advertise_byoip_cidr`][ec2_advertise_byoip_cidr].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_provision_byoip_cidr/](https://www.paws-r-sdk.com/docs/ec2_provision_byoip_cidr/) for full documentation.
#'
#' @param Cidr [required] The public IPv4 or IPv6 address range, in CIDR notation. The most
#' specific IPv4 prefix that you can specify is /24. The most specific IPv6
#' address range that you can bring is /48 for CIDRs that are publicly
#' advertisable and /56 for CIDRs that are not publicly advertisable. The
#' address range cannot overlap with another address range that you've
#' brought to this or another Region.
#' @param CidrAuthorizationContext A signed document that proves that you are authorized to bring the
#' specified IP address range to Amazon using BYOIP.
#' @param PubliclyAdvertisable (IPv6 only) Indicate whether the address range will be publicly
#' advertised to the internet.
#'
#' Default: true
#' @param Description A description for the address range and the address pool.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PoolTagSpecifications The tags to apply to the address pool.
#' @param MultiRegion Reserved.
#' @param NetworkBorderGroup If you have [Local
#' Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html)
#' enabled, you can choose a network border group for Local Zones when you
#' provision and advertise a BYOIPv4 CIDR. Choose the network border group
#' carefully as the EIP and the Amazon Web Services resource it is
#' associated with must reside in the same network border group.
#'
#' You can provision BYOIP address ranges to and advertise them in the
#' following Local Zone network border groups:
#'
#' - us-east-1-dfw-2
#'
#' - us-west-2-lax-1
#'
#' - us-west-2-phx-2
#'
#' You cannot provision or advertise BYOIPv6 address ranges in Local Zones
#' at this time.
#'
#' @keywords internal
#'
#' @rdname ec2_provision_byoip_cidr
ec2_provision_byoip_cidr <- function(Cidr, CidrAuthorizationContext = NULL, PubliclyAdvertisable = NULL, Description = NULL, DryRun = NULL, PoolTagSpecifications = NULL, MultiRegion = NULL, NetworkBorderGroup = NULL) {
op <- new_operation(
name = "ProvisionByoipCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$provision_byoip_cidr_input(Cidr = Cidr, CidrAuthorizationContext = CidrAuthorizationContext, PubliclyAdvertisable = PubliclyAdvertisable, Description = Description, DryRun = DryRun, PoolTagSpecifications = PoolTagSpecifications, MultiRegion = MultiRegion, NetworkBorderGroup = NetworkBorderGroup)
output <- .ec2$provision_byoip_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$provision_byoip_cidr <- ec2_provision_byoip_cidr
#' Provisions your Autonomous System Number (ASN) for use in your Amazon
#' Web Services account
#'
#' @description
#' Provisions your Autonomous System Number (ASN) for use in your Amazon Web Services account. This action requires authorization context for Amazon to bring the ASN to an Amazon Web Services account. For more information, see [Tutorial: Bring your ASN to IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) in the *Amazon VPC IPAM guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_provision_ipam_byoasn/](https://www.paws-r-sdk.com/docs/ec2_provision_ipam_byoasn/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param IpamId [required] An IPAM ID.
#' @param Asn [required] A public 2-byte or 4-byte ASN.
#' @param AsnAuthorizationContext [required] An ASN authorization context.
#'
#' @keywords internal
#'
#' @rdname ec2_provision_ipam_byoasn
ec2_provision_ipam_byoasn <- function(DryRun = NULL, IpamId, Asn, AsnAuthorizationContext) {
op <- new_operation(
name = "ProvisionIpamByoasn",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$provision_ipam_byoasn_input(DryRun = DryRun, IpamId = IpamId, Asn = Asn, AsnAuthorizationContext = AsnAuthorizationContext)
output <- .ec2$provision_ipam_byoasn_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$provision_ipam_byoasn <- ec2_provision_ipam_byoasn
#' Provision a CIDR to an IPAM pool
#'
#' @description
#' Provision a CIDR to an IPAM pool. You can use this action to provision new CIDRs to a top-level pool or to transfer a CIDR from a top-level pool to a pool within it.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_provision_ipam_pool_cidr/](https://www.paws-r-sdk.com/docs/ec2_provision_ipam_pool_cidr/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool to which you want to assign a CIDR.
#' @param Cidr The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or
#' "Cidr" is required. This value will be null if you specify
#' "NetmaskLength" and will be filled in during the provisioning process.
#' @param CidrAuthorizationContext A signed document that proves that you are authorized to bring a
#' specified IP address range to Amazon using BYOIP. This option applies to
#' public pools only.
#' @param NetmaskLength The netmask length of the CIDR you'd like to provision to a pool. Can be
#' used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and
#' for provisioning CIDRs to pools with source pools. Cannot be used to
#' provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or
#' "Cidr" is required.
#' @param ClientToken A unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_provision_ipam_pool_cidr
ec2_provision_ipam_pool_cidr <- function(DryRun = NULL, IpamPoolId, Cidr = NULL, CidrAuthorizationContext = NULL, NetmaskLength = NULL, ClientToken = NULL) {
op <- new_operation(
name = "ProvisionIpamPoolCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$provision_ipam_pool_cidr_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Cidr = Cidr, CidrAuthorizationContext = CidrAuthorizationContext, NetmaskLength = NetmaskLength, ClientToken = ClientToken)
output <- .ec2$provision_ipam_pool_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$provision_ipam_pool_cidr <- ec2_provision_ipam_pool_cidr
#' Provision a CIDR to a public IPv4 pool
#'
#' @description
#' Provision a CIDR to a public IPv4 pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_provision_public_ipv_4_pool_cidr/](https://www.paws-r-sdk.com/docs/ec2_provision_public_ipv_4_pool_cidr/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool you would like to use to allocate this CIDR.
#' @param PoolId [required] The ID of the public IPv4 pool you would like to use for this CIDR.
#' @param NetmaskLength [required] The netmask length of the CIDR you would like to allocate to the public
#' IPv4 pool.
#'
#' @keywords internal
#'
#' @rdname ec2_provision_public_ipv_4_pool_cidr
ec2_provision_public_ipv_4_pool_cidr <- function(DryRun = NULL, IpamPoolId, PoolId, NetmaskLength) {
op <- new_operation(
name = "ProvisionPublicIpv4PoolCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$provision_public_ipv_4_pool_cidr_input(DryRun = DryRun, IpamPoolId = IpamPoolId, PoolId = PoolId, NetmaskLength = NetmaskLength)
output <- .ec2$provision_public_ipv_4_pool_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$provision_public_ipv_4_pool_cidr <- ec2_provision_public_ipv_4_pool_cidr
#' Purchase the Capacity Block for use with your account
#'
#' @description
#' Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_purchase_capacity_block/](https://www.paws-r-sdk.com/docs/ec2_purchase_capacity_block/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to apply to the Capacity Block during launch.
#' @param CapacityBlockOfferingId [required] The ID of the Capacity Block offering.
#' @param InstancePlatform [required] The type of operating system for which to reserve capacity.
#'
#' @keywords internal
#'
#' @rdname ec2_purchase_capacity_block
ec2_purchase_capacity_block <- function(DryRun = NULL, TagSpecifications = NULL, CapacityBlockOfferingId, InstancePlatform) {
op <- new_operation(
name = "PurchaseCapacityBlock",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$purchase_capacity_block_input(DryRun = DryRun, TagSpecifications = TagSpecifications, CapacityBlockOfferingId = CapacityBlockOfferingId, InstancePlatform = InstancePlatform)
output <- .ec2$purchase_capacity_block_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$purchase_capacity_block <- ec2_purchase_capacity_block
#' Purchase a reservation with configurations that match those of your
#' Dedicated Host
#'
#' @description
#' Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_purchase_host_reservation/](https://www.paws-r-sdk.com/docs/ec2_purchase_host_reservation/) for full documentation.
#'
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param CurrencyCode The currency in which the `totalUpfrontPrice`, `LimitPrice`, and
#' `totalHourlyPrice` amounts are specified. At this time, the only
#' supported currency is `USD`.
#' @param HostIdSet [required] The IDs of the Dedicated Hosts with which the reservation will be
#' associated.
#' @param LimitPrice The specified limit is checked against the total upfront cost of the
#' reservation (calculated as the offering's upfront cost multiplied by the
#' host count). If the total upfront cost is greater than the specified
#' price limit, the request fails. This is used to ensure that the purchase
#' does not exceed the expected upfront cost of the purchase. At this time,
#' the only supported currency is `USD`. For example, to indicate a limit
#' price of USD 100, specify 100.00.
#' @param OfferingId [required] The ID of the offering.
#' @param TagSpecifications The tags to apply to the Dedicated Host Reservation during purchase.
#'
#' @keywords internal
#'
#' @rdname ec2_purchase_host_reservation
ec2_purchase_host_reservation <- function(ClientToken = NULL, CurrencyCode = NULL, HostIdSet, LimitPrice = NULL, OfferingId, TagSpecifications = NULL) {
op <- new_operation(
name = "PurchaseHostReservation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$purchase_host_reservation_input(ClientToken = ClientToken, CurrencyCode = CurrencyCode, HostIdSet = HostIdSet, LimitPrice = LimitPrice, OfferingId = OfferingId, TagSpecifications = TagSpecifications)
output <- .ec2$purchase_host_reservation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$purchase_host_reservation <- ec2_purchase_host_reservation
#' Purchases a Reserved Instance for use with your account
#'
#' @description
#' Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower hourly rate compared to On-Demand instance pricing.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_purchase_reserved_instances_offering/](https://www.paws-r-sdk.com/docs/ec2_purchase_reserved_instances_offering/) for full documentation.
#'
#' @param InstanceCount [required] The number of Reserved Instances to purchase.
#' @param ReservedInstancesOfferingId [required] The ID of the Reserved Instance offering to purchase.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param LimitPrice Specified for Reserved Instance Marketplace offerings to limit the total
#' order and ensure that the Reserved Instances are not purchased at
#' unexpected prices.
#' @param PurchaseTime The time at which to purchase the Reserved Instance, in UTC format (for
#' example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z).
#'
#' @keywords internal
#'
#' @rdname ec2_purchase_reserved_instances_offering
ec2_purchase_reserved_instances_offering <- function(InstanceCount, ReservedInstancesOfferingId, DryRun = NULL, LimitPrice = NULL, PurchaseTime = NULL) {
op <- new_operation(
name = "PurchaseReservedInstancesOffering",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$purchase_reserved_instances_offering_input(InstanceCount = InstanceCount, ReservedInstancesOfferingId = ReservedInstancesOfferingId, DryRun = DryRun, LimitPrice = LimitPrice, PurchaseTime = PurchaseTime)
output <- .ec2$purchase_reserved_instances_offering_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$purchase_reserved_instances_offering <- ec2_purchase_reserved_instances_offering
#' You can no longer purchase Scheduled Instances
#'
#' @description
#' You can no longer purchase Scheduled Instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_purchase_scheduled_instances/](https://www.paws-r-sdk.com/docs/ec2_purchase_scheduled_instances/) for full documentation.
#'
#' @param ClientToken Unique, case-sensitive identifier that ensures the idempotency of the
#' request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PurchaseRequests [required] The purchase requests.
#'
#' @keywords internal
#'
#' @rdname ec2_purchase_scheduled_instances
ec2_purchase_scheduled_instances <- function(ClientToken = NULL, DryRun = NULL, PurchaseRequests) {
op <- new_operation(
name = "PurchaseScheduledInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$purchase_scheduled_instances_input(ClientToken = ClientToken, DryRun = DryRun, PurchaseRequests = PurchaseRequests)
output <- .ec2$purchase_scheduled_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$purchase_scheduled_instances <- ec2_purchase_scheduled_instances
#' Requests a reboot of the specified instances
#'
#' @description
#' Requests a reboot of the specified instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reboot_instances/](https://www.paws-r-sdk.com/docs/ec2_reboot_instances/) for full documentation.
#'
#' @param InstanceIds [required] The instance IDs.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reboot_instances
ec2_reboot_instances <- function(InstanceIds, DryRun = NULL) {
op <- new_operation(
name = "RebootInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reboot_instances_input(InstanceIds = InstanceIds, DryRun = DryRun)
output <- .ec2$reboot_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reboot_instances <- ec2_reboot_instances
#' Registers an AMI
#'
#' @description
#' Registers an AMI. When you're creating an instance-store backed AMI, registering the AMI is the final step in the creation process. For more information about creating AMIs, see [Create your own AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html#creating-an-ami) in the *Amazon Elastic Compute Cloud User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_register_image/](https://www.paws-r-sdk.com/docs/ec2_register_image/) for full documentation.
#'
#' @param ImageLocation The full path to your AMI manifest in Amazon S3 storage. The specified
#' bucket must have the `aws-exec-read` canned access control list (ACL) to
#' ensure that it can be accessed by Amazon EC2. For more information, see
#' [Canned
#' ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl)
#' in the *Amazon S3 Service Developer Guide*.
#' @param Architecture The architecture of the AMI.
#'
#' Default: For Amazon EBS-backed AMIs, `i386`. For instance store-backed
#' AMIs, the architecture specified in the manifest file.
#' @param BlockDeviceMappings The block device mapping entries.
#'
#' If you specify an Amazon EBS volume using the ID of an Amazon EBS
#' snapshot, you can't specify the encryption state of the volume.
#'
#' If you create an AMI on an Outpost, then all backing snapshots must be
#' on the same Outpost or in the Region of that Outpost. AMIs on an Outpost
#' that include local snapshots can be used to launch instances on the same
#' Outpost only. For more information, [Amazon EBS local snapshots on
#' Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami)
#' in the *Amazon EBS User Guide*.
#' @param Description A description for your AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EnaSupport Set to `true` to enable enhanced networking with ENA for the AMI and any
#' instances that you launch from the AMI.
#'
#' This option is supported only for HVM AMIs. Specifying this option with
#' a PV AMI can make instances launched from the AMI unreachable.
#' @param KernelId The ID of the kernel.
#' @param Name [required] A name for your AMI.
#'
#' Constraints: 3-128 alphanumeric characters, parentheses (()), square
#' brackets (\[\]), spaces ( ), periods (.), slashes (/), dashes (-),
#' single quotes ('), at-signs (@@), or underscores(_)
#' @param BillingProducts The billing product codes. Your account must be authorized to specify
#' billing product codes.
#'
#' If your account is not authorized to specify billing product codes, you
#' can publish AMIs that include billable software and list them on the
#' Amazon Web Services Marketplace. You must first register as a seller on
#' the Amazon Web Services Marketplace. For more information, see [Getting
#' started as a
#' seller](https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html)
#' and [AMI-based
#' products](https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html)
#' in the *Amazon Web Services Marketplace Seller Guide*.
#' @param RamdiskId The ID of the RAM disk.
#' @param RootDeviceName The device name of the root device volume (for example, `/dev/sda1`).
#' @param SriovNetSupport Set to `simple` to enable enhanced networking with the Intel 82599
#' Virtual Function interface for the AMI and any instances that you launch
#' from the AMI.
#'
#' There is no way to disable `sriovNetSupport` at this time.
#'
#' This option is supported only for HVM AMIs. Specifying this option with
#' a PV AMI can make instances launched from the AMI unreachable.
#' @param VirtualizationType The type of virtualization (`hvm` | `paravirtual`).
#'
#' Default: `paravirtual`
#' @param BootMode The boot mode of the AMI. A value of `uefi-preferred` indicates that the
#' AMI supports both UEFI and Legacy BIOS.
#'
#' The operating system contained in the AMI must be configured to support
#' the specified boot mode.
#'
#' For more information, see [Boot
#' modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html)
#' in the *Amazon EC2 User Guide*.
#' @param TpmSupport Set to `v2.0` to enable Trusted Platform Module (TPM) support. For more
#' information, see
#' [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html)
#' in the *Amazon EC2 User Guide*.
#' @param UefiData Base64 representation of the non-volatile UEFI variable store. To
#' retrieve the UEFI data, use the
#' [`get_instance_uefi_data`][ec2_get_instance_uefi_data] command. You can
#' inspect and modify the UEFI data by using the [python-uefivars
#' tool](https://github.com/awslabs/python-uefivars) on GitHub. For more
#' information, see [UEFI Secure
#' Boot](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html)
#' in the *Amazon EC2 User Guide*.
#' @param ImdsSupport Set to `v2.0` to indicate that IMDSv2 is specified in the AMI. Instances
#' launched from this AMI will have `HttpTokens` automatically set to
#' `required` so that, by default, the instance requires that IMDSv2 is
#' used when requesting instance metadata. In addition,
#' `HttpPutResponseHopLimit` is set to `2`. For more information, see
#' [Configure the
#' AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration)
#' in the *Amazon EC2 User Guide*.
#'
#' If you set the value to `v2.0`, make sure that your AMI software can
#' support IMDSv2.
#' @param TagSpecifications The tags to apply to the AMI.
#'
#' To tag the AMI, the value for `ResourceType` must be `image`. If you
#' specify another value for `ResourceType`, the request fails.
#'
#' To tag an AMI after it has been registered, see
#' [`create_tags`][ec2_create_tags].
#'
#' @keywords internal
#'
#' @rdname ec2_register_image
ec2_register_image <- function(ImageLocation = NULL, Architecture = NULL, BlockDeviceMappings = NULL, Description = NULL, DryRun = NULL, EnaSupport = NULL, KernelId = NULL, Name, BillingProducts = NULL, RamdiskId = NULL, RootDeviceName = NULL, SriovNetSupport = NULL, VirtualizationType = NULL, BootMode = NULL, TpmSupport = NULL, UefiData = NULL, ImdsSupport = NULL, TagSpecifications = NULL) {
op <- new_operation(
name = "RegisterImage",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$register_image_input(ImageLocation = ImageLocation, Architecture = Architecture, BlockDeviceMappings = BlockDeviceMappings, Description = Description, DryRun = DryRun, EnaSupport = EnaSupport, KernelId = KernelId, Name = Name, BillingProducts = BillingProducts, RamdiskId = RamdiskId, RootDeviceName = RootDeviceName, SriovNetSupport = SriovNetSupport, VirtualizationType = VirtualizationType, BootMode = BootMode, TpmSupport = TpmSupport, UefiData = UefiData, ImdsSupport = ImdsSupport, TagSpecifications = TagSpecifications)
output <- .ec2$register_image_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$register_image <- ec2_register_image
#' Registers a set of tag keys to include in scheduled event notifications
#' for your resources
#'
#' @description
#' Registers a set of tag keys to include in scheduled event notifications for your resources.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_register_instance_event_notification_attributes/](https://www.paws-r-sdk.com/docs/ec2_register_instance_event_notification_attributes/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceTagAttribute [required] Information about the tag keys to register.
#'
#' @keywords internal
#'
#' @rdname ec2_register_instance_event_notification_attributes
ec2_register_instance_event_notification_attributes <- function(DryRun = NULL, InstanceTagAttribute) {
op <- new_operation(
name = "RegisterInstanceEventNotificationAttributes",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$register_instance_event_notification_attributes_input(DryRun = DryRun, InstanceTagAttribute = InstanceTagAttribute)
output <- .ec2$register_instance_event_notification_attributes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$register_instance_event_notification_attributes <- ec2_register_instance_event_notification_attributes
#' Registers members (network interfaces) with the transit gateway
#' multicast group
#'
#' @description
#' Registers members (network interfaces) with the transit gateway multicast group. A member is a network interface associated with a supported EC2 instance that receives multicast traffic. For information about supported instances, see [Multicast Consideration](https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-quotas.html#multicast-limits) in *Amazon VPC Transit Gateways*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_register_transit_gateway_multicast_group_members/](https://www.paws-r-sdk.com/docs/ec2_register_transit_gateway_multicast_group_members/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param GroupIpAddress The IP address assigned to the transit gateway multicast group.
#' @param NetworkInterfaceIds [required] The group members' network interface IDs to register with the transit
#' gateway multicast group.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_register_transit_gateway_multicast_group_members
ec2_register_transit_gateway_multicast_group_members <- function(TransitGatewayMulticastDomainId, GroupIpAddress = NULL, NetworkInterfaceIds, DryRun = NULL) {
op <- new_operation(
name = "RegisterTransitGatewayMulticastGroupMembers",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$register_transit_gateway_multicast_group_members_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, GroupIpAddress = GroupIpAddress, NetworkInterfaceIds = NetworkInterfaceIds, DryRun = DryRun)
output <- .ec2$register_transit_gateway_multicast_group_members_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$register_transit_gateway_multicast_group_members <- ec2_register_transit_gateway_multicast_group_members
#' Registers sources (network interfaces) with the specified transit
#' gateway multicast group
#'
#' @description
#' Registers sources (network interfaces) with the specified transit gateway multicast group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_register_transit_gateway_multicast_group_sources/](https://www.paws-r-sdk.com/docs/ec2_register_transit_gateway_multicast_group_sources/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param GroupIpAddress The IP address assigned to the transit gateway multicast group.
#' @param NetworkInterfaceIds [required] The group sources' network interface IDs to register with the transit
#' gateway multicast group.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_register_transit_gateway_multicast_group_sources
ec2_register_transit_gateway_multicast_group_sources <- function(TransitGatewayMulticastDomainId, GroupIpAddress = NULL, NetworkInterfaceIds, DryRun = NULL) {
op <- new_operation(
name = "RegisterTransitGatewayMulticastGroupSources",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$register_transit_gateway_multicast_group_sources_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, GroupIpAddress = GroupIpAddress, NetworkInterfaceIds = NetworkInterfaceIds, DryRun = DryRun)
output <- .ec2$register_transit_gateway_multicast_group_sources_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$register_transit_gateway_multicast_group_sources <- ec2_register_transit_gateway_multicast_group_sources
#' Rejects a request to associate cross-account subnets with a transit
#' gateway multicast domain
#'
#' @description
#' Rejects a request to associate cross-account subnets with a transit gateway multicast domain.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reject_transit_gateway_multicast_domain_associations/](https://www.paws-r-sdk.com/docs/ec2_reject_transit_gateway_multicast_domain_associations/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId The ID of the transit gateway multicast domain.
#' @param TransitGatewayAttachmentId The ID of the transit gateway attachment.
#' @param SubnetIds The IDs of the subnets to associate with the transit gateway multicast
#' domain.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reject_transit_gateway_multicast_domain_associations
ec2_reject_transit_gateway_multicast_domain_associations <- function(TransitGatewayMulticastDomainId = NULL, TransitGatewayAttachmentId = NULL, SubnetIds = NULL, DryRun = NULL) {
op <- new_operation(
name = "RejectTransitGatewayMulticastDomainAssociations",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reject_transit_gateway_multicast_domain_associations_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, SubnetIds = SubnetIds, DryRun = DryRun)
output <- .ec2$reject_transit_gateway_multicast_domain_associations_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reject_transit_gateway_multicast_domain_associations <- ec2_reject_transit_gateway_multicast_domain_associations
#' Rejects a transit gateway peering attachment request
#'
#' @description
#' Rejects a transit gateway peering attachment request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reject_transit_gateway_peering_attachment/](https://www.paws-r-sdk.com/docs/ec2_reject_transit_gateway_peering_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the transit gateway peering attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reject_transit_gateway_peering_attachment
ec2_reject_transit_gateway_peering_attachment <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "RejectTransitGatewayPeeringAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reject_transit_gateway_peering_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$reject_transit_gateway_peering_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reject_transit_gateway_peering_attachment <- ec2_reject_transit_gateway_peering_attachment
#' Rejects a request to attach a VPC to a transit gateway
#'
#' @description
#' Rejects a request to attach a VPC to a transit gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reject_transit_gateway_vpc_attachment/](https://www.paws-r-sdk.com/docs/ec2_reject_transit_gateway_vpc_attachment/) for full documentation.
#'
#' @param TransitGatewayAttachmentId [required] The ID of the attachment.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reject_transit_gateway_vpc_attachment
ec2_reject_transit_gateway_vpc_attachment <- function(TransitGatewayAttachmentId, DryRun = NULL) {
op <- new_operation(
name = "RejectTransitGatewayVpcAttachment",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reject_transit_gateway_vpc_attachment_input(TransitGatewayAttachmentId = TransitGatewayAttachmentId, DryRun = DryRun)
output <- .ec2$reject_transit_gateway_vpc_attachment_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reject_transit_gateway_vpc_attachment <- ec2_reject_transit_gateway_vpc_attachment
#' Rejects VPC endpoint connection requests to your VPC endpoint service
#'
#' @description
#' Rejects VPC endpoint connection requests to your VPC endpoint service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reject_vpc_endpoint_connections/](https://www.paws-r-sdk.com/docs/ec2_reject_vpc_endpoint_connections/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the service.
#' @param VpcEndpointIds [required] The IDs of the VPC endpoints.
#'
#' @keywords internal
#'
#' @rdname ec2_reject_vpc_endpoint_connections
ec2_reject_vpc_endpoint_connections <- function(DryRun = NULL, ServiceId, VpcEndpointIds) {
op <- new_operation(
name = "RejectVpcEndpointConnections",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reject_vpc_endpoint_connections_input(DryRun = DryRun, ServiceId = ServiceId, VpcEndpointIds = VpcEndpointIds)
output <- .ec2$reject_vpc_endpoint_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reject_vpc_endpoint_connections <- ec2_reject_vpc_endpoint_connections
#' Rejects a VPC peering connection request
#'
#' @description
#' Rejects a VPC peering connection request. The VPC peering connection must be in the `pending-acceptance` state. Use the [`describe_vpc_peering_connections`][ec2_describe_vpc_peering_connections] request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use [`delete_vpc_peering_connection`][ec2_delete_vpc_peering_connection].
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reject_vpc_peering_connection/](https://www.paws-r-sdk.com/docs/ec2_reject_vpc_peering_connection/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcPeeringConnectionId [required] The ID of the VPC peering connection.
#'
#' @keywords internal
#'
#' @rdname ec2_reject_vpc_peering_connection
ec2_reject_vpc_peering_connection <- function(DryRun = NULL, VpcPeeringConnectionId) {
op <- new_operation(
name = "RejectVpcPeeringConnection",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reject_vpc_peering_connection_input(DryRun = DryRun, VpcPeeringConnectionId = VpcPeeringConnectionId)
output <- .ec2$reject_vpc_peering_connection_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reject_vpc_peering_connection <- ec2_reject_vpc_peering_connection
#' Releases the specified Elastic IP address
#'
#' @description
#' Releases the specified Elastic IP address.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_release_address/](https://www.paws-r-sdk.com/docs/ec2_release_address/) for full documentation.
#'
#' @param AllocationId The allocation ID. This parameter is required.
#' @param PublicIp Deprecated.
#' @param NetworkBorderGroup The set of Availability Zones, Local Zones, or Wavelength Zones from
#' which Amazon Web Services advertises IP addresses.
#'
#' If you provide an incorrect network border group, you receive an
#' `InvalidAddress.NotFound` error.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_release_address
ec2_release_address <- function(AllocationId = NULL, PublicIp = NULL, NetworkBorderGroup = NULL, DryRun = NULL) {
op <- new_operation(
name = "ReleaseAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$release_address_input(AllocationId = AllocationId, PublicIp = PublicIp, NetworkBorderGroup = NetworkBorderGroup, DryRun = DryRun)
output <- .ec2$release_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$release_address <- ec2_release_address
#' When you no longer want to use an On-Demand Dedicated Host it can be
#' released
#'
#' @description
#' When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand billing is stopped and the host goes into `released` state. The host ID of Dedicated Hosts that have been released can no longer be specified in another request, for example, to modify the host. You must stop or terminate all instances on a host before it can be released.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_release_hosts/](https://www.paws-r-sdk.com/docs/ec2_release_hosts/) for full documentation.
#'
#' @param HostIds [required] The IDs of the Dedicated Hosts to release.
#'
#' @keywords internal
#'
#' @rdname ec2_release_hosts
ec2_release_hosts <- function(HostIds) {
op <- new_operation(
name = "ReleaseHosts",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$release_hosts_input(HostIds = HostIds)
output <- .ec2$release_hosts_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$release_hosts <- ec2_release_hosts
#' Release an allocation within an IPAM pool
#'
#' @description
#' Release an allocation within an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using [`modify_ipam_resource_cidr`][ec2_modify_ipam_resource_cidr]. For more information, see [Release an allocation](https://docs.aws.amazon.com/vpc/latest/ipam/release-alloc-ipam.html) in the *Amazon VPC IPAM User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_release_ipam_pool_allocation/](https://www.paws-r-sdk.com/docs/ec2_release_ipam_pool_allocation/) for full documentation.
#'
#' @param DryRun A check for whether you have the required permissions for the action
#' without actually making the request and provides an error response. If
#' you have the required permissions, the error response is
#' `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
#' @param IpamPoolId [required] The ID of the IPAM pool which contains the allocation you want to
#' release.
#' @param Cidr [required] The CIDR of the allocation you want to release.
#' @param IpamPoolAllocationId [required] The ID of the allocation.
#'
#' @keywords internal
#'
#' @rdname ec2_release_ipam_pool_allocation
ec2_release_ipam_pool_allocation <- function(DryRun = NULL, IpamPoolId, Cidr, IpamPoolAllocationId) {
op <- new_operation(
name = "ReleaseIpamPoolAllocation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$release_ipam_pool_allocation_input(DryRun = DryRun, IpamPoolId = IpamPoolId, Cidr = Cidr, IpamPoolAllocationId = IpamPoolAllocationId)
output <- .ec2$release_ipam_pool_allocation_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$release_ipam_pool_allocation <- ec2_release_ipam_pool_allocation
#' Replaces an IAM instance profile for the specified running instance
#'
#' @description
#' Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_iam_instance_profile_association/](https://www.paws-r-sdk.com/docs/ec2_replace_iam_instance_profile_association/) for full documentation.
#'
#' @param IamInstanceProfile [required] The IAM instance profile.
#' @param AssociationId [required] The ID of the existing IAM instance profile association.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_iam_instance_profile_association
ec2_replace_iam_instance_profile_association <- function(IamInstanceProfile, AssociationId) {
op <- new_operation(
name = "ReplaceIamInstanceProfileAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_iam_instance_profile_association_input(IamInstanceProfile = IamInstanceProfile, AssociationId = AssociationId)
output <- .ec2$replace_iam_instance_profile_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_iam_instance_profile_association <- ec2_replace_iam_instance_profile_association
#' Changes which network ACL a subnet is associated with
#'
#' @description
#' Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information, see [Network ACLs](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_network_acl_association/](https://www.paws-r-sdk.com/docs/ec2_replace_network_acl_association/) for full documentation.
#'
#' @param AssociationId [required] The ID of the current association between the original network ACL and
#' the subnet.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkAclId [required] The ID of the new network ACL to associate with the subnet.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_network_acl_association
ec2_replace_network_acl_association <- function(AssociationId, DryRun = NULL, NetworkAclId) {
op <- new_operation(
name = "ReplaceNetworkAclAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_network_acl_association_input(AssociationId = AssociationId, DryRun = DryRun, NetworkAclId = NetworkAclId)
output <- .ec2$replace_network_acl_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_network_acl_association <- ec2_replace_network_acl_association
#' Replaces an entry (rule) in a network ACL
#'
#' @description
#' Replaces an entry (rule) in a network ACL. For more information, see [Network ACLs](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_network_acl_entry/](https://www.paws-r-sdk.com/docs/ec2_replace_network_acl_entry/) for full documentation.
#'
#' @param CidrBlock The IPv4 network range to allow or deny, in CIDR notation (for example
#' `172.16.0.0/24`).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Egress [required] Indicates whether to replace the egress rule.
#'
#' Default: If no value is specified, we replace the ingress rule.
#' @param IcmpTypeCode ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying
#' protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.
#' @param Ipv6CidrBlock The IPv6 network range to allow or deny, in CIDR notation (for example
#' `2001:bd8:1234:1a00::/64`).
#' @param NetworkAclId [required] The ID of the ACL.
#' @param PortRange TCP or UDP protocols: The range of ports the rule applies to. Required
#' if specifying protocol 6 (TCP) or 17 (UDP).
#' @param Protocol [required] The protocol number. A value of "-1" means all protocols. If you specify
#' "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1"
#' (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP
#' types or codes that you specify. If you specify protocol "58" (ICMPv6)
#' and specify an IPv4 CIDR block, traffic for all ICMP types and codes
#' allowed, regardless of any that you specify. If you specify protocol
#' "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP
#' type and code.
#' @param RuleAction [required] Indicates whether to allow or deny the traffic that matches the rule.
#' @param RuleNumber [required] The rule number of the entry to replace.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_network_acl_entry
ec2_replace_network_acl_entry <- function(CidrBlock = NULL, DryRun = NULL, Egress, IcmpTypeCode = NULL, Ipv6CidrBlock = NULL, NetworkAclId, PortRange = NULL, Protocol, RuleAction, RuleNumber) {
op <- new_operation(
name = "ReplaceNetworkAclEntry",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_network_acl_entry_input(CidrBlock = CidrBlock, DryRun = DryRun, Egress = Egress, IcmpTypeCode = IcmpTypeCode, Ipv6CidrBlock = Ipv6CidrBlock, NetworkAclId = NetworkAclId, PortRange = PortRange, Protocol = Protocol, RuleAction = RuleAction, RuleNumber = RuleNumber)
output <- .ec2$replace_network_acl_entry_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_network_acl_entry <- ec2_replace_network_acl_entry
#' Replaces an existing route within a route table in a VPC
#'
#' @description
#' Replaces an existing route within a route table in a VPC.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_route/](https://www.paws-r-sdk.com/docs/ec2_replace_route/) for full documentation.
#'
#' @param DestinationCidrBlock The IPv4 CIDR address block used for the destination match. The value
#' that you provide must match the CIDR of an existing route in the table.
#' @param DestinationIpv6CidrBlock The IPv6 CIDR address block used for the destination match. The value
#' that you provide must match the CIDR of an existing route in the table.
#' @param DestinationPrefixListId The ID of the prefix list for the route.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param VpcEndpointId The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints
#' only.
#' @param EgressOnlyInternetGatewayId \[IPv6 traffic only\] The ID of an egress-only internet gateway.
#' @param GatewayId The ID of an internet gateway or virtual private gateway.
#' @param InstanceId The ID of a NAT instance in your VPC.
#' @param LocalTarget Specifies whether to reset the local route to its default target
#' (`local`).
#' @param NatGatewayId \[IPv4 traffic only\] The ID of a NAT gateway.
#' @param TransitGatewayId The ID of a transit gateway.
#' @param LocalGatewayId The ID of the local gateway.
#' @param CarrierGatewayId \[IPv4 traffic only\] The ID of a carrier gateway.
#' @param NetworkInterfaceId The ID of a network interface.
#' @param RouteTableId [required] The ID of the route table.
#' @param VpcPeeringConnectionId The ID of a VPC peering connection.
#' @param CoreNetworkArn The Amazon Resource Name (ARN) of the core network.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_route
ec2_replace_route <- function(DestinationCidrBlock = NULL, DestinationIpv6CidrBlock = NULL, DestinationPrefixListId = NULL, DryRun = NULL, VpcEndpointId = NULL, EgressOnlyInternetGatewayId = NULL, GatewayId = NULL, InstanceId = NULL, LocalTarget = NULL, NatGatewayId = NULL, TransitGatewayId = NULL, LocalGatewayId = NULL, CarrierGatewayId = NULL, NetworkInterfaceId = NULL, RouteTableId, VpcPeeringConnectionId = NULL, CoreNetworkArn = NULL) {
op <- new_operation(
name = "ReplaceRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_route_input(DestinationCidrBlock = DestinationCidrBlock, DestinationIpv6CidrBlock = DestinationIpv6CidrBlock, DestinationPrefixListId = DestinationPrefixListId, DryRun = DryRun, VpcEndpointId = VpcEndpointId, EgressOnlyInternetGatewayId = EgressOnlyInternetGatewayId, GatewayId = GatewayId, InstanceId = InstanceId, LocalTarget = LocalTarget, NatGatewayId = NatGatewayId, TransitGatewayId = TransitGatewayId, LocalGatewayId = LocalGatewayId, CarrierGatewayId = CarrierGatewayId, NetworkInterfaceId = NetworkInterfaceId, RouteTableId = RouteTableId, VpcPeeringConnectionId = VpcPeeringConnectionId, CoreNetworkArn = CoreNetworkArn)
output <- .ec2$replace_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_route <- ec2_replace_route
#' Changes the route table associated with a given subnet, internet
#' gateway, or virtual private gateway in a VPC
#'
#' @description
#' Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation completes, the subnet or gateway uses the routes in the new route table. For more information about route tables, see [Route tables](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_route_table_association/](https://www.paws-r-sdk.com/docs/ec2_replace_route_table_association/) for full documentation.
#'
#' @param AssociationId [required] The association ID.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param RouteTableId [required] The ID of the new route table to associate with the subnet.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_route_table_association
ec2_replace_route_table_association <- function(AssociationId, DryRun = NULL, RouteTableId) {
op <- new_operation(
name = "ReplaceRouteTableAssociation",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_route_table_association_input(AssociationId = AssociationId, DryRun = DryRun, RouteTableId = RouteTableId)
output <- .ec2$replace_route_table_association_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_route_table_association <- ec2_replace_route_table_association
#' Replaces the specified route in the specified transit gateway route
#' table
#'
#' @description
#' Replaces the specified route in the specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_transit_gateway_route/](https://www.paws-r-sdk.com/docs/ec2_replace_transit_gateway_route/) for full documentation.
#'
#' @param DestinationCidrBlock [required] The CIDR range used for the destination match. Routing decisions are
#' based on the most specific match.
#' @param TransitGatewayRouteTableId [required] The ID of the route table.
#' @param TransitGatewayAttachmentId The ID of the attachment.
#' @param Blackhole Indicates whether traffic matching this route is to be dropped.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_transit_gateway_route
ec2_replace_transit_gateway_route <- function(DestinationCidrBlock, TransitGatewayRouteTableId, TransitGatewayAttachmentId = NULL, Blackhole = NULL, DryRun = NULL) {
op <- new_operation(
name = "ReplaceTransitGatewayRoute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_transit_gateway_route_input(DestinationCidrBlock = DestinationCidrBlock, TransitGatewayRouteTableId = TransitGatewayRouteTableId, TransitGatewayAttachmentId = TransitGatewayAttachmentId, Blackhole = Blackhole, DryRun = DryRun)
output <- .ec2$replace_transit_gateway_route_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_transit_gateway_route <- ec2_replace_transit_gateway_route
#' Trigger replacement of specified VPN tunnel
#'
#' @description
#' Trigger replacement of specified VPN tunnel.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_replace_vpn_tunnel/](https://www.paws-r-sdk.com/docs/ec2_replace_vpn_tunnel/) for full documentation.
#'
#' @param VpnConnectionId [required] The ID of the Site-to-Site VPN connection.
#' @param VpnTunnelOutsideIpAddress [required] The external IP address of the VPN tunnel.
#' @param ApplyPendingMaintenance Trigger pending tunnel endpoint maintenance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_replace_vpn_tunnel
ec2_replace_vpn_tunnel <- function(VpnConnectionId, VpnTunnelOutsideIpAddress, ApplyPendingMaintenance = NULL, DryRun = NULL) {
op <- new_operation(
name = "ReplaceVpnTunnel",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$replace_vpn_tunnel_input(VpnConnectionId = VpnConnectionId, VpnTunnelOutsideIpAddress = VpnTunnelOutsideIpAddress, ApplyPendingMaintenance = ApplyPendingMaintenance, DryRun = DryRun)
output <- .ec2$replace_vpn_tunnel_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$replace_vpn_tunnel <- ec2_replace_vpn_tunnel
#' Submits feedback about the status of an instance
#'
#' @description
#' Submits feedback about the status of an instance. The instance must be in the `running` state. If your experience with the instance differs from the instance status returned by [`describe_instance_status`][ec2_describe_instance_status], use [`report_instance_status`][ec2_report_instance_status] to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_report_instance_status/](https://www.paws-r-sdk.com/docs/ec2_report_instance_status/) for full documentation.
#'
#' @param Description Descriptive text about the health state of your instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EndTime The time at which the reported instance health state ended.
#' @param Instances [required] The instances.
#' @param ReasonCodes [required] The reason codes that describe the health state of your instance.
#'
#' - `instance-stuck-in-state`: My instance is stuck in a state.
#'
#' - `unresponsive`: My instance is unresponsive.
#'
#' - `not-accepting-credentials`: My instance is not accepting my
#' credentials.
#'
#' - `password-not-available`: A password is not available for my
#' instance.
#'
#' - `performance-network`: My instance is experiencing performance
#' problems that I believe are network related.
#'
#' - `performance-instance-store`: My instance is experiencing
#' performance problems that I believe are related to the instance
#' stores.
#'
#' - `performance-ebs-volume`: My instance is experiencing performance
#' problems that I believe are related to an EBS volume.
#'
#' - `performance-other`: My instance is experiencing performance
#' problems.
#'
#' - `other`: \[explain using the description parameter\]
#' @param StartTime The time at which the reported instance health state began.
#' @param Status [required] The status of all instances listed.
#'
#' @keywords internal
#'
#' @rdname ec2_report_instance_status
ec2_report_instance_status <- function(Description = NULL, DryRun = NULL, EndTime = NULL, Instances, ReasonCodes, StartTime = NULL, Status) {
op <- new_operation(
name = "ReportInstanceStatus",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$report_instance_status_input(Description = Description, DryRun = DryRun, EndTime = EndTime, Instances = Instances, ReasonCodes = ReasonCodes, StartTime = StartTime, Status = Status)
output <- .ec2$report_instance_status_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$report_instance_status <- ec2_report_instance_status
#' Creates a Spot Fleet request
#'
#' @description
#' Creates a Spot Fleet request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_request_spot_fleet/](https://www.paws-r-sdk.com/docs/ec2_request_spot_fleet/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SpotFleetRequestConfig [required] The configuration for the Spot Fleet request.
#'
#' @keywords internal
#'
#' @rdname ec2_request_spot_fleet
ec2_request_spot_fleet <- function(DryRun = NULL, SpotFleetRequestConfig) {
op <- new_operation(
name = "RequestSpotFleet",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$request_spot_fleet_input(DryRun = DryRun, SpotFleetRequestConfig = SpotFleetRequestConfig)
output <- .ec2$request_spot_fleet_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$request_spot_fleet <- ec2_request_spot_fleet
#' Creates a Spot Instance request
#'
#' @description
#' Creates a Spot Instance request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_request_spot_instances/](https://www.paws-r-sdk.com/docs/ec2_request_spot_instances/) for full documentation.
#'
#' @param AvailabilityZoneGroup The user-specified name for a logical grouping of requests.
#'
#' When you specify an Availability Zone group in a Spot Instance request,
#' all Spot Instances in the request are launched in the same Availability
#' Zone. Instance proximity is maintained with this parameter, but the
#' choice of Availability Zone is not. The group applies only to requests
#' for Spot Instances of the same instance type. Any additional Spot
#' Instance requests that are specified with the same Availability Zone
#' group name are launched in that same Availability Zone, as long as at
#' least one instance from the group is still active.
#'
#' If there is no active instance running in the Availability Zone group
#' that you specify for a new Spot Instance request (all instances are
#' terminated, the request is expired, or the maximum price you specified
#' falls below current Spot price), then Amazon EC2 launches the instance
#' in any Availability Zone where the constraint can be met. Consequently,
#' the subsequent set of Spot Instances could be placed in a different zone
#' from the original request, even if you specified the same Availability
#' Zone group.
#'
#' Default: Instances are launched in any available Availability Zone.
#' @param BlockDurationMinutes Deprecated.
#' @param ClientToken Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to Ensure
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html)
#' in the *Amazon EC2 User Guide for Linux Instances*.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceCount The maximum number of Spot Instances to launch.
#'
#' Default: 1
#' @param LaunchGroup The instance launch group. Launch groups are Spot Instances that launch
#' together and terminate together.
#'
#' Default: Instances are launched and terminated individually
#' @param LaunchSpecification The launch specification.
#' @param SpotPrice The maximum price per unit hour that you are willing to pay for a Spot
#' Instance. We do not recommend using this parameter because it can lead
#' to increased interruptions. If you do not specify this parameter, you
#' will pay the current Spot price.
#'
#' If you specify a maximum price, your instances will be interrupted more
#' frequently than if you do not specify this parameter.
#' @param Type The Spot Instance request type.
#'
#' Default: `one-time`
#' @param ValidFrom The start date of the request. If this is a one-time request, the
#' request becomes active at this date and time and remains active until
#' all instances launch, the request expires, or the request is canceled.
#' If the request is persistent, the request becomes active at this date
#' and time and remains active until it expires or is canceled.
#'
#' The specified start date and time cannot be equal to the current date
#' and time. You must specify a start date and time that occurs after the
#' current date and time.
#' @param ValidUntil The end date of the request, in UTC format
#' (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z).
#'
#' - For a persistent request, the request remains active until the
#' `ValidUntil` date and time is reached. Otherwise, the request
#' remains active until you cancel it.
#'
#' - For a one-time request, the request remains active until all
#' instances launch, the request is canceled, or the `ValidUntil` date
#' and time is reached. By default, the request is valid for 7 days
#' from the date the request was created.
#' @param TagSpecifications The key-value pair for tagging the Spot Instance request on creation.
#' The value for `ResourceType` must be `spot-instances-request`, otherwise
#' the Spot Instance request fails. To tag the Spot Instance request after
#' it has been created, see [`create_tags`][ec2_create_tags].
#' @param InstanceInterruptionBehavior The behavior when a Spot Instance is interrupted. The default is
#' `terminate`.
#'
#' @keywords internal
#'
#' @rdname ec2_request_spot_instances
ec2_request_spot_instances <- function(AvailabilityZoneGroup = NULL, BlockDurationMinutes = NULL, ClientToken = NULL, DryRun = NULL, InstanceCount = NULL, LaunchGroup = NULL, LaunchSpecification = NULL, SpotPrice = NULL, Type = NULL, ValidFrom = NULL, ValidUntil = NULL, TagSpecifications = NULL, InstanceInterruptionBehavior = NULL) {
op <- new_operation(
name = "RequestSpotInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$request_spot_instances_input(AvailabilityZoneGroup = AvailabilityZoneGroup, BlockDurationMinutes = BlockDurationMinutes, ClientToken = ClientToken, DryRun = DryRun, InstanceCount = InstanceCount, LaunchGroup = LaunchGroup, LaunchSpecification = LaunchSpecification, SpotPrice = SpotPrice, Type = Type, ValidFrom = ValidFrom, ValidUntil = ValidUntil, TagSpecifications = TagSpecifications, InstanceInterruptionBehavior = InstanceInterruptionBehavior)
output <- .ec2$request_spot_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$request_spot_instances <- ec2_request_spot_instances
#' Resets the attribute of the specified IP address
#'
#' @description
#' Resets the attribute of the specified IP address. For requirements, see [Using reverse DNS for email applications](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_address_attribute/](https://www.paws-r-sdk.com/docs/ec2_reset_address_attribute/) for full documentation.
#'
#' @param AllocationId [required] \[EC2-VPC\] The allocation ID.
#' @param Attribute [required] The attribute of the IP address.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_address_attribute
ec2_reset_address_attribute <- function(AllocationId, Attribute, DryRun = NULL) {
op <- new_operation(
name = "ResetAddressAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_address_attribute_input(AllocationId = AllocationId, Attribute = Attribute, DryRun = DryRun)
output <- .ec2$reset_address_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_address_attribute <- ec2_reset_address_attribute
#' Resets the default KMS key for EBS encryption for your account in this
#' Region to the Amazon Web Services managed KMS key for EBS
#'
#' @description
#' Resets the default KMS key for EBS encryption for your account in this Region to the Amazon Web Services managed KMS key for EBS.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_ebs_default_kms_key_id/](https://www.paws-r-sdk.com/docs/ec2_reset_ebs_default_kms_key_id/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_ebs_default_kms_key_id
ec2_reset_ebs_default_kms_key_id <- function(DryRun = NULL) {
op <- new_operation(
name = "ResetEbsDefaultKmsKeyId",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_ebs_default_kms_key_id_input(DryRun = DryRun)
output <- .ec2$reset_ebs_default_kms_key_id_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_ebs_default_kms_key_id <- ec2_reset_ebs_default_kms_key_id
#' Resets the specified attribute of the specified Amazon FPGA Image (AFI)
#' to its default value
#'
#' @description
#' Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. You can only reset the load permission attribute.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_fpga_image_attribute/](https://www.paws-r-sdk.com/docs/ec2_reset_fpga_image_attribute/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param FpgaImageId [required] The ID of the AFI.
#' @param Attribute The attribute.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_fpga_image_attribute
ec2_reset_fpga_image_attribute <- function(DryRun = NULL, FpgaImageId, Attribute = NULL) {
op <- new_operation(
name = "ResetFpgaImageAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_fpga_image_attribute_input(DryRun = DryRun, FpgaImageId = FpgaImageId, Attribute = Attribute)
output <- .ec2$reset_fpga_image_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_fpga_image_attribute <- ec2_reset_fpga_image_attribute
#' Resets an attribute of an AMI to its default value
#'
#' @description
#' Resets an attribute of an AMI to its default value.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_image_attribute/](https://www.paws-r-sdk.com/docs/ec2_reset_image_attribute/) for full documentation.
#'
#' @param Attribute [required] The attribute to reset (currently you can only reset the launch
#' permission attribute).
#' @param ImageId [required] The ID of the AMI.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_image_attribute
ec2_reset_image_attribute <- function(Attribute, ImageId, DryRun = NULL) {
op <- new_operation(
name = "ResetImageAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_image_attribute_input(Attribute = Attribute, ImageId = ImageId, DryRun = DryRun)
output <- .ec2$reset_image_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_image_attribute <- ec2_reset_image_attribute
#' Resets an attribute of an instance to its default value
#'
#' @description
#' Resets an attribute of an instance to its default value. To reset the `kernel` or `ramdisk`, the instance must be in a stopped state. To reset the `sourceDestCheck`, the instance can be either running or stopped.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_instance_attribute/](https://www.paws-r-sdk.com/docs/ec2_reset_instance_attribute/) for full documentation.
#'
#' @param Attribute [required] The attribute to reset.
#'
#' You can only reset the following attributes: `kernel` | `ramdisk` |
#' `sourceDestCheck`.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceId [required] The ID of the instance.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_instance_attribute
ec2_reset_instance_attribute <- function(Attribute, DryRun = NULL, InstanceId) {
op <- new_operation(
name = "ResetInstanceAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_instance_attribute_input(Attribute = Attribute, DryRun = DryRun, InstanceId = InstanceId)
output <- .ec2$reset_instance_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_instance_attribute <- ec2_reset_instance_attribute
#' Resets a network interface attribute
#'
#' @description
#' Resets a network interface attribute. You can specify only one attribute at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_network_interface_attribute/](https://www.paws-r-sdk.com/docs/ec2_reset_network_interface_attribute/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#' @param SourceDestCheck The source/destination checking attribute. Resets the value to `true`.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_network_interface_attribute
ec2_reset_network_interface_attribute <- function(DryRun = NULL, NetworkInterfaceId, SourceDestCheck = NULL) {
op <- new_operation(
name = "ResetNetworkInterfaceAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_network_interface_attribute_input(DryRun = DryRun, NetworkInterfaceId = NetworkInterfaceId, SourceDestCheck = SourceDestCheck)
output <- .ec2$reset_network_interface_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_network_interface_attribute <- ec2_reset_network_interface_attribute
#' Resets permission settings for the specified snapshot
#'
#' @description
#' Resets permission settings for the specified snapshot.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_reset_snapshot_attribute/](https://www.paws-r-sdk.com/docs/ec2_reset_snapshot_attribute/) for full documentation.
#'
#' @param Attribute [required] The attribute to reset. Currently, only the attribute for permission to
#' create volumes can be reset.
#' @param SnapshotId [required] The ID of the snapshot.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_reset_snapshot_attribute
ec2_reset_snapshot_attribute <- function(Attribute, SnapshotId, DryRun = NULL) {
op <- new_operation(
name = "ResetSnapshotAttribute",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$reset_snapshot_attribute_input(Attribute = Attribute, SnapshotId = SnapshotId, DryRun = DryRun)
output <- .ec2$reset_snapshot_attribute_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$reset_snapshot_attribute <- ec2_reset_snapshot_attribute
#' This action is deprecated
#'
#' @description
#' This action is deprecated.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_restore_address_to_classic/](https://www.paws-r-sdk.com/docs/ec2_restore_address_to_classic/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PublicIp [required] The Elastic IP address.
#'
#' @keywords internal
#'
#' @rdname ec2_restore_address_to_classic
ec2_restore_address_to_classic <- function(DryRun = NULL, PublicIp) {
op <- new_operation(
name = "RestoreAddressToClassic",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$restore_address_to_classic_input(DryRun = DryRun, PublicIp = PublicIp)
output <- .ec2$restore_address_to_classic_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$restore_address_to_classic <- ec2_restore_address_to_classic
#' Restores an AMI from the Recycle Bin
#'
#' @description
#' Restores an AMI from the Recycle Bin. For more information, see [Recycle Bin](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_restore_image_from_recycle_bin/](https://www.paws-r-sdk.com/docs/ec2_restore_image_from_recycle_bin/) for full documentation.
#'
#' @param ImageId [required] The ID of the AMI to restore.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_restore_image_from_recycle_bin
ec2_restore_image_from_recycle_bin <- function(ImageId, DryRun = NULL) {
op <- new_operation(
name = "RestoreImageFromRecycleBin",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$restore_image_from_recycle_bin_input(ImageId = ImageId, DryRun = DryRun)
output <- .ec2$restore_image_from_recycle_bin_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$restore_image_from_recycle_bin <- ec2_restore_image_from_recycle_bin
#' Restores the entries from a previous version of a managed prefix list to
#' a new version of the prefix list
#'
#' @description
#' Restores the entries from a previous version of a managed prefix list to a new version of the prefix list.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_restore_managed_prefix_list_version/](https://www.paws-r-sdk.com/docs/ec2_restore_managed_prefix_list_version/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param PrefixListId [required] The ID of the prefix list.
#' @param PreviousVersion [required] The version to restore.
#' @param CurrentVersion [required] The current version number for the prefix list.
#'
#' @keywords internal
#'
#' @rdname ec2_restore_managed_prefix_list_version
ec2_restore_managed_prefix_list_version <- function(DryRun = NULL, PrefixListId, PreviousVersion, CurrentVersion) {
op <- new_operation(
name = "RestoreManagedPrefixListVersion",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$restore_managed_prefix_list_version_input(DryRun = DryRun, PrefixListId = PrefixListId, PreviousVersion = PreviousVersion, CurrentVersion = CurrentVersion)
output <- .ec2$restore_managed_prefix_list_version_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$restore_managed_prefix_list_version <- ec2_restore_managed_prefix_list_version
#' Restores a snapshot from the Recycle Bin
#'
#' @description
#' Restores a snapshot from the Recycle Bin. For more information, see [Restore snapshots from the Recycle Bin](https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin-working-with-snaps.html#recycle-bin-restore-snaps) in the *Amazon EBS User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_restore_snapshot_from_recycle_bin/](https://www.paws-r-sdk.com/docs/ec2_restore_snapshot_from_recycle_bin/) for full documentation.
#'
#' @param SnapshotId [required] The ID of the snapshot to restore.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_restore_snapshot_from_recycle_bin
ec2_restore_snapshot_from_recycle_bin <- function(SnapshotId, DryRun = NULL) {
op <- new_operation(
name = "RestoreSnapshotFromRecycleBin",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$restore_snapshot_from_recycle_bin_input(SnapshotId = SnapshotId, DryRun = DryRun)
output <- .ec2$restore_snapshot_from_recycle_bin_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$restore_snapshot_from_recycle_bin <- ec2_restore_snapshot_from_recycle_bin
#' Restores an archived Amazon EBS snapshot for use temporarily or
#' permanently, or modifies the restore period or restore type for a
#' snapshot that was previously temporarily restored
#'
#' @description
#' Restores an archived Amazon EBS snapshot for use temporarily or permanently, or modifies the restore period or restore type for a snapshot that was previously temporarily restored.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_restore_snapshot_tier/](https://www.paws-r-sdk.com/docs/ec2_restore_snapshot_tier/) for full documentation.
#'
#' @param SnapshotId [required] The ID of the snapshot to restore.
#' @param TemporaryRestoreDays Specifies the number of days for which to temporarily restore an
#' archived snapshot. Required for temporary restores only. The snapshot
#' will be automatically re-archived after this period.
#'
#' To temporarily restore an archived snapshot, specify the number of days
#' and omit the **PermanentRestore** parameter or set it to `false`.
#' @param PermanentRestore Indicates whether to permanently restore an archived snapshot. To
#' permanently restore an archived snapshot, specify `true` and omit the
#' **RestoreSnapshotTierRequest$TemporaryRestoreDays** parameter.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_restore_snapshot_tier
ec2_restore_snapshot_tier <- function(SnapshotId, TemporaryRestoreDays = NULL, PermanentRestore = NULL, DryRun = NULL) {
op <- new_operation(
name = "RestoreSnapshotTier",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$restore_snapshot_tier_input(SnapshotId = SnapshotId, TemporaryRestoreDays = TemporaryRestoreDays, PermanentRestore = PermanentRestore, DryRun = DryRun)
output <- .ec2$restore_snapshot_tier_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$restore_snapshot_tier <- ec2_restore_snapshot_tier
#' Removes an ingress authorization rule from a Client VPN endpoint
#'
#' @description
#' Removes an ingress authorization rule from a Client VPN endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_revoke_client_vpn_ingress/](https://www.paws-r-sdk.com/docs/ec2_revoke_client_vpn_ingress/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint with which the authorization rule is
#' associated.
#' @param TargetNetworkCidr [required] The IPv4 address range, in CIDR notation, of the network for which
#' access is being removed.
#' @param AccessGroupId The ID of the Active Directory group for which to revoke access.
#' @param RevokeAllGroups Indicates whether access should be revoked for all clients.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_revoke_client_vpn_ingress
ec2_revoke_client_vpn_ingress <- function(ClientVpnEndpointId, TargetNetworkCidr, AccessGroupId = NULL, RevokeAllGroups = NULL, DryRun = NULL) {
op <- new_operation(
name = "RevokeClientVpnIngress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$revoke_client_vpn_ingress_input(ClientVpnEndpointId = ClientVpnEndpointId, TargetNetworkCidr = TargetNetworkCidr, AccessGroupId = AccessGroupId, RevokeAllGroups = RevokeAllGroups, DryRun = DryRun)
output <- .ec2$revoke_client_vpn_ingress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$revoke_client_vpn_ingress <- ec2_revoke_client_vpn_ingress
#' Removes the specified outbound (egress) rules from the specified
#' security group
#'
#' @description
#' Removes the specified outbound (egress) rules from the specified security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_revoke_security_group_egress/](https://www.paws-r-sdk.com/docs/ec2_revoke_security_group_egress/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupId [required] The ID of the security group.
#' @param IpPermissions The sets of IP permissions. You can't specify a destination security
#' group and a CIDR IP address range in the same set of permissions.
#' @param SecurityGroupRuleIds The IDs of the security group rules.
#' @param CidrIp Not supported. Use a set of IP permissions to specify the CIDR.
#' @param FromPort Not supported. Use a set of IP permissions to specify the port.
#' @param IpProtocol Not supported. Use a set of IP permissions to specify the protocol name
#' or number.
#' @param ToPort Not supported. Use a set of IP permissions to specify the port.
#' @param SourceSecurityGroupName Not supported. Use a set of IP permissions to specify a destination
#' security group.
#' @param SourceSecurityGroupOwnerId Not supported. Use a set of IP permissions to specify a destination
#' security group.
#'
#' @keywords internal
#'
#' @rdname ec2_revoke_security_group_egress
ec2_revoke_security_group_egress <- function(DryRun = NULL, GroupId, IpPermissions = NULL, SecurityGroupRuleIds = NULL, CidrIp = NULL, FromPort = NULL, IpProtocol = NULL, ToPort = NULL, SourceSecurityGroupName = NULL, SourceSecurityGroupOwnerId = NULL) {
op <- new_operation(
name = "RevokeSecurityGroupEgress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$revoke_security_group_egress_input(DryRun = DryRun, GroupId = GroupId, IpPermissions = IpPermissions, SecurityGroupRuleIds = SecurityGroupRuleIds, CidrIp = CidrIp, FromPort = FromPort, IpProtocol = IpProtocol, ToPort = ToPort, SourceSecurityGroupName = SourceSecurityGroupName, SourceSecurityGroupOwnerId = SourceSecurityGroupOwnerId)
output <- .ec2$revoke_security_group_egress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$revoke_security_group_egress <- ec2_revoke_security_group_egress
#' Removes the specified inbound (ingress) rules from a security group
#'
#' @description
#' Removes the specified inbound (ingress) rules from a security group.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_revoke_security_group_ingress/](https://www.paws-r-sdk.com/docs/ec2_revoke_security_group_ingress/) for full documentation.
#'
#' @param CidrIp The CIDR IP address range. You can't specify this parameter when
#' specifying a source security group.
#' @param FromPort If the protocol is TCP or UDP, this is the start of the port range. If
#' the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
#' @param GroupId The ID of the security group.
#' @param GroupName \[Default VPC\] The name of the security group. You must specify either
#' the security group ID or the security group name in the request. For
#' security groups in a nondefault VPC, you must specify the security group
#' ID.
#' @param IpPermissions The sets of IP permissions. You can't specify a source security group
#' and a CIDR IP address range in the same set of permissions.
#' @param IpProtocol The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
#' Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
#' Use `-1` to specify all.
#' @param SourceSecurityGroupName \[Default VPC\] The name of the source security group. You can't specify
#' this parameter in combination with the following parameters: the CIDR IP
#' address range, the start of the port range, the IP protocol, and the end
#' of the port range. The source security group must be in the same VPC. To
#' revoke a specific rule for an IP protocol and port range, use a set of
#' IP permissions instead.
#' @param SourceSecurityGroupOwnerId Not supported.
#' @param ToPort If the protocol is TCP or UDP, this is the end of the port range. If the
#' protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param SecurityGroupRuleIds The IDs of the security group rules.
#'
#' @keywords internal
#'
#' @rdname ec2_revoke_security_group_ingress
ec2_revoke_security_group_ingress <- function(CidrIp = NULL, FromPort = NULL, GroupId = NULL, GroupName = NULL, IpPermissions = NULL, IpProtocol = NULL, SourceSecurityGroupName = NULL, SourceSecurityGroupOwnerId = NULL, ToPort = NULL, DryRun = NULL, SecurityGroupRuleIds = NULL) {
op <- new_operation(
name = "RevokeSecurityGroupIngress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$revoke_security_group_ingress_input(CidrIp = CidrIp, FromPort = FromPort, GroupId = GroupId, GroupName = GroupName, IpPermissions = IpPermissions, IpProtocol = IpProtocol, SourceSecurityGroupName = SourceSecurityGroupName, SourceSecurityGroupOwnerId = SourceSecurityGroupOwnerId, ToPort = ToPort, DryRun = DryRun, SecurityGroupRuleIds = SecurityGroupRuleIds)
output <- .ec2$revoke_security_group_ingress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$revoke_security_group_ingress <- ec2_revoke_security_group_ingress
#' Launches the specified number of instances using an AMI for which you
#' have permissions
#'
#' @description
#' Launches the specified number of instances using an AMI for which you have permissions.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_run_instances/](https://www.paws-r-sdk.com/docs/ec2_run_instances/) for full documentation.
#'
#' @param BlockDeviceMappings The block device mapping, which defines the EBS volumes and instance
#' store volumes to attach to the instance at launch. For more information,
#' see [Block device
#' mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html)
#' in the *Amazon EC2 User Guide*.
#' @param ImageId The ID of the AMI. An AMI ID is required to launch an instance and must
#' be specified here or in a launch template.
#' @param InstanceType The instance type. For more information, see [Instance
#' types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
#' in the *Amazon EC2 User Guide*.
#' @param Ipv6AddressCount The number of IPv6 addresses to associate with the primary network
#' interface. Amazon EC2 chooses the IPv6 addresses from the range of your
#' subnet. You cannot specify this option and the option to assign specific
#' IPv6 addresses in the same request. You can specify this option if
#' you've specified a minimum number of instances to launch.
#'
#' You cannot specify this option and the network interfaces option in the
#' same request.
#' @param Ipv6Addresses The IPv6 addresses from the range of the subnet to associate with the
#' primary network interface. You cannot specify this option and the option
#' to assign a number of IPv6 addresses in the same request. You cannot
#' specify this option if you've specified a minimum number of instances to
#' launch.
#'
#' You cannot specify this option and the network interfaces option in the
#' same request.
#' @param KernelId The ID of the kernel.
#'
#' We recommend that you use PV-GRUB instead of kernels and RAM disks. For
#' more information, see
#' [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html)
#' in the *Amazon EC2 User Guide*.
#' @param KeyName The name of the key pair. You can create a key pair using
#' [`create_key_pair`][ec2_create_key_pair] or
#' [`import_key_pair`][ec2_import_key_pair].
#'
#' If you do not specify a key pair, you can't connect to the instance
#' unless you choose an AMI that is configured to allow users another way
#' to log in.
#' @param MaxCount [required] The maximum number of instances to launch. If you specify more instances
#' than Amazon EC2 can launch in the target Availability Zone, Amazon EC2
#' launches the largest possible number of instances above `MinCount`.
#'
#' Constraints: Between 1 and the maximum number you're allowed for the
#' specified instance type. For more information about the default limits,
#' and how to request an increase, see [How many instances can I run in
#' Amazon
#' EC2](https://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2)
#' in the Amazon EC2 FAQ.
#' @param MinCount [required] The minimum number of instances to launch. If you specify a minimum that
#' is more instances than Amazon EC2 can launch in the target Availability
#' Zone, Amazon EC2 launches no instances.
#'
#' Constraints: Between 1 and the maximum number you're allowed for the
#' specified instance type. For more information about the default limits,
#' and how to request an increase, see [How many instances can I run in
#' Amazon
#' EC2](https://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2)
#' in the Amazon EC2 General FAQ.
#' @param Monitoring Specifies whether detailed monitoring is enabled for the instance.
#' @param Placement The placement for the instance.
#' @param RamdiskId The ID of the RAM disk to select. Some kernels require additional
#' drivers at launch. Check the kernel requirements for information about
#' whether you need to specify a RAM disk. To find kernel requirements, go
#' to the Amazon Web Services Resource Center and search for the kernel ID.
#'
#' We recommend that you use PV-GRUB instead of kernels and RAM disks. For
#' more information, see
#' [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html)
#' in the *Amazon EC2 User Guide*.
#' @param SecurityGroupIds The IDs of the security groups. You can create a security group using
#' [`create_security_group`][ec2_create_security_group].
#'
#' If you specify a network interface, you must specify any security groups
#' as part of the network interface instead of using this parameter.
#' @param SecurityGroups \[Default VPC\] The names of the security groups.
#'
#' If you specify a network interface, you must specify any security groups
#' as part of the network interface instead of using this parameter.
#'
#' Default: Amazon EC2 uses the default security group.
#' @param SubnetId The ID of the subnet to launch the instance into.
#'
#' If you specify a network interface, you must specify any subnets as part
#' of the network interface instead of using this parameter.
#' @param UserData The user data script to make available to the instance. For more
#' information, see [Run commands on your Linux instance at
#' launch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html)
#' and [Run commands on your Windows instance at
#' launch](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html).
#' If you are using a command line tool, base64-encoding is performed for
#' you, and you can load the text from a file. Otherwise, you must provide
#' base64-encoded text. User data is limited to 16 KB.
#' @param AdditionalInfo Reserved.
#' @param ClientToken Unique, case-sensitive identifier you provide to ensure the idempotency
#' of the request. If you do not specify a client token, a randomly
#' generated token is used for the request to ensure idempotency.
#'
#' For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' Constraints: Maximum 64 ASCII characters
#' @param DisableApiTermination If you set this parameter to `true`, you can't terminate the instance
#' using the Amazon EC2 console, CLI, or API; otherwise, you can. To change
#' this attribute after launch, use
#' [`modify_instance_attribute`][ec2_modify_instance_attribute].
#' Alternatively, if you set `InstanceInitiatedShutdownBehavior` to
#' `terminate`, you can terminate the instance by running the shutdown
#' command from the instance.
#'
#' Default: `false`
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param EbsOptimized Indicates whether the instance is optimized for Amazon EBS I/O. This
#' optimization provides dedicated throughput to Amazon EBS and an
#' optimized configuration stack to provide optimal Amazon EBS I/O
#' performance. This optimization isn't available with all instance types.
#' Additional usage charges apply when using an EBS-optimized instance.
#'
#' Default: `false`
#' @param IamInstanceProfile The name or Amazon Resource Name (ARN) of an IAM instance profile.
#' @param InstanceInitiatedShutdownBehavior Indicates whether an instance stops or terminates when you initiate
#' shutdown from the instance (using the operating system command for
#' system shutdown).
#'
#' Default: `stop`
#' @param NetworkInterfaces The network interfaces to associate with the instance.
#' @param PrivateIpAddress The primary IPv4 address. You must specify a value from the IPv4 address
#' range of the subnet.
#'
#' Only one private IP address can be designated as primary. You can't
#' specify this option if you've specified the option to designate a
#' private IP address as the primary IP address in a network interface
#' specification. You cannot specify this option if you're launching more
#' than one instance in the request.
#'
#' You cannot specify this option and the network interfaces option in the
#' same request.
#' @param ElasticGpuSpecification An elastic GPU to associate with the instance.
#'
#' Amazon Elastic Graphics reached end of life on January 8, 2024.
#' @param ElasticInferenceAccelerators An elastic inference accelerator to associate with the instance.
#'
#' Amazon Elastic Inference (EI) is no longer available to new customers.
#' For more information, see [Amazon Elastic Inference
#' FAQs](https://aws.amazon.com/machine-learning/elastic-inference/faqs/).
#' @param TagSpecifications The tags to apply to the resources that are created during instance
#' launch.
#'
#' You can specify tags for the following resources only:
#'
#' - Instances
#'
#' - Volumes
#'
#' - Spot Instance requests
#'
#' - Network interfaces
#'
#' To tag a resource after it has been created, see
#' [`create_tags`][ec2_create_tags].
#' @param LaunchTemplate The launch template. Any additional parameters that you specify for the
#' new instance overwrite the corresponding parameters included in the
#' launch template.
#' @param InstanceMarketOptions The market (purchasing) option for the instances.
#'
#' For [`run_instances`][ec2_run_instances], persistent Spot Instance
#' requests are only supported when **InstanceInterruptionBehavior** is set
#' to either `hibernate` or `stop`.
#' @param CreditSpecification The credit option for CPU usage of the burstable performance instance.
#' Valid values are `standard` and `unlimited`. To change this attribute
#' after launch, use
#' [ModifyInstanceCreditSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html).
#' For more information, see [Burstable performance
#' instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html)
#' in the *Amazon EC2 User Guide*.
#'
#' Default: `standard` (T2 instances) or `unlimited` (T3/T3a/T4g instances)
#'
#' For T3 instances with `host` tenancy, only `standard` is supported.
#' @param CpuOptions The CPU options for the instance. For more information, see [Optimize
#' CPU
#' options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html)
#' in the *Amazon EC2 User Guide*.
#' @param CapacityReservationSpecification Information about the Capacity Reservation targeting option. If you do
#' not specify this parameter, the instance's Capacity Reservation
#' preference defaults to `open`, which enables it to run in any open
#' Capacity Reservation that has matching attributes (instance type,
#' platform, Availability Zone).
#' @param HibernationOptions Indicates whether an instance is enabled for hibernation. This parameter
#' is valid only if the instance meets the [hibernation
#' prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html).
#' For more information, see [Hibernate your
#' instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html)
#' in the *Amazon EC2 User Guide*.
#'
#' You can't enable hibernation and Amazon Web Services Nitro Enclaves on
#' the same instance.
#' @param LicenseSpecifications The license configurations.
#' @param MetadataOptions The metadata options for the instance. For more information, see
#' [Instance metadata and user
#' data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html).
#' @param EnclaveOptions Indicates whether the instance is enabled for Amazon Web Services Nitro
#' Enclaves. For more information, see [What is Amazon Web Services Nitro
#' Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html)
#' in the *Amazon Web Services Nitro Enclaves User Guide*.
#'
#' You can't enable Amazon Web Services Nitro Enclaves and hibernation on
#' the same instance.
#' @param PrivateDnsNameOptions The options for the instance hostname. The default values are inherited
#' from the subnet. Applies only if creating a network interface, not
#' attaching an existing one.
#' @param MaintenanceOptions The maintenance and recovery options for the instance.
#' @param DisableApiStop Indicates whether an instance is enabled for stop protection. For more
#' information, see [Stop
#' protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection).
#' @param EnablePrimaryIpv6 If you’re launching an instance into a dual-stack or IPv6-only subnet,
#' you can enable assigning a primary IPv6 address. A primary IPv6 address
#' is an IPv6 GUA address associated with an ENI that you have enabled to
#' use a primary IPv6 address. Use this option if an instance relies on its
#' IPv6 address not changing. When you launch the instance, Amazon Web
#' Services will automatically assign an IPv6 address associated with the
#' ENI attached to your instance to be the primary IPv6 address. Once you
#' enable an IPv6 GUA address to be a primary IPv6, you cannot disable it.
#' When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6
#' GUA will be made the primary IPv6 address until the instance is
#' terminated or the network interface is detached. If you have multiple
#' IPv6 addresses associated with an ENI attached to your instance and you
#' enable a primary IPv6 address, the first IPv6 GUA address associated
#' with the ENI becomes the primary IPv6 address.
#'
#' @keywords internal
#'
#' @rdname ec2_run_instances
ec2_run_instances <- function(BlockDeviceMappings = NULL, ImageId = NULL, InstanceType = NULL, Ipv6AddressCount = NULL, Ipv6Addresses = NULL, KernelId = NULL, KeyName = NULL, MaxCount, MinCount, Monitoring = NULL, Placement = NULL, RamdiskId = NULL, SecurityGroupIds = NULL, SecurityGroups = NULL, SubnetId = NULL, UserData = NULL, AdditionalInfo = NULL, ClientToken = NULL, DisableApiTermination = NULL, DryRun = NULL, EbsOptimized = NULL, IamInstanceProfile = NULL, InstanceInitiatedShutdownBehavior = NULL, NetworkInterfaces = NULL, PrivateIpAddress = NULL, ElasticGpuSpecification = NULL, ElasticInferenceAccelerators = NULL, TagSpecifications = NULL, LaunchTemplate = NULL, InstanceMarketOptions = NULL, CreditSpecification = NULL, CpuOptions = NULL, CapacityReservationSpecification = NULL, HibernationOptions = NULL, LicenseSpecifications = NULL, MetadataOptions = NULL, EnclaveOptions = NULL, PrivateDnsNameOptions = NULL, MaintenanceOptions = NULL, DisableApiStop = NULL, EnablePrimaryIpv6 = NULL) {
op <- new_operation(
name = "RunInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$run_instances_input(BlockDeviceMappings = BlockDeviceMappings, ImageId = ImageId, InstanceType = InstanceType, Ipv6AddressCount = Ipv6AddressCount, Ipv6Addresses = Ipv6Addresses, KernelId = KernelId, KeyName = KeyName, MaxCount = MaxCount, MinCount = MinCount, Monitoring = Monitoring, Placement = Placement, RamdiskId = RamdiskId, SecurityGroupIds = SecurityGroupIds, SecurityGroups = SecurityGroups, SubnetId = SubnetId, UserData = UserData, AdditionalInfo = AdditionalInfo, ClientToken = ClientToken, DisableApiTermination = DisableApiTermination, DryRun = DryRun, EbsOptimized = EbsOptimized, IamInstanceProfile = IamInstanceProfile, InstanceInitiatedShutdownBehavior = InstanceInitiatedShutdownBehavior, NetworkInterfaces = NetworkInterfaces, PrivateIpAddress = PrivateIpAddress, ElasticGpuSpecification = ElasticGpuSpecification, ElasticInferenceAccelerators = ElasticInferenceAccelerators, TagSpecifications = TagSpecifications, LaunchTemplate = LaunchTemplate, InstanceMarketOptions = InstanceMarketOptions, CreditSpecification = CreditSpecification, CpuOptions = CpuOptions, CapacityReservationSpecification = CapacityReservationSpecification, HibernationOptions = HibernationOptions, LicenseSpecifications = LicenseSpecifications, MetadataOptions = MetadataOptions, EnclaveOptions = EnclaveOptions, PrivateDnsNameOptions = PrivateDnsNameOptions, MaintenanceOptions = MaintenanceOptions, DisableApiStop = DisableApiStop, EnablePrimaryIpv6 = EnablePrimaryIpv6)
output <- .ec2$run_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$run_instances <- ec2_run_instances
#' Launches the specified Scheduled Instances
#'
#' @description
#' Launches the specified Scheduled Instances.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_run_scheduled_instances/](https://www.paws-r-sdk.com/docs/ec2_run_scheduled_instances/) for full documentation.
#'
#' @param ClientToken Unique, case-sensitive identifier that ensures the idempotency of the
#' request. For more information, see [Ensuring
#' Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param InstanceCount The number of instances.
#'
#' Default: 1
#' @param LaunchSpecification [required] The launch specification. You must match the instance type, Availability
#' Zone, network, and platform of the schedule that you purchased.
#' @param ScheduledInstanceId [required] The Scheduled Instance ID.
#'
#' @keywords internal
#'
#' @rdname ec2_run_scheduled_instances
ec2_run_scheduled_instances <- function(ClientToken = NULL, DryRun = NULL, InstanceCount = NULL, LaunchSpecification, ScheduledInstanceId) {
op <- new_operation(
name = "RunScheduledInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$run_scheduled_instances_input(ClientToken = ClientToken, DryRun = DryRun, InstanceCount = InstanceCount, LaunchSpecification = LaunchSpecification, ScheduledInstanceId = ScheduledInstanceId)
output <- .ec2$run_scheduled_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$run_scheduled_instances <- ec2_run_scheduled_instances
#' Searches for routes in the specified local gateway route table
#'
#' @description
#' Searches for routes in the specified local gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_search_local_gateway_routes/](https://www.paws-r-sdk.com/docs/ec2_search_local_gateway_routes/) for full documentation.
#'
#' @param LocalGatewayRouteTableId [required] The ID of the local gateway route table.
#' @param Filters One or more filters.
#'
#' - `prefix-list-id` - The ID of the prefix list.
#'
#' - `route-search.exact-match` - The exact match of the specified
#' filter.
#'
#' - `route-search.longest-prefix-match` - The longest prefix that
#' matches the route.
#'
#' - `route-search.subnet-of-match` - The routes with a subnet that match
#' the specified CIDR filter.
#'
#' - `route-search.supernet-of-match` - The routes with a CIDR that
#' encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
#' 10.0.1.0/31 routes in your route table and you specify
#' `supernet-of-match` as 10.0.1.0/30, then the result returns
#' 10.0.1.0/29.
#'
#' - `state` - The state of the route.
#'
#' - `type` - The route type.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_search_local_gateway_routes
ec2_search_local_gateway_routes <- function(LocalGatewayRouteTableId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "SearchLocalGatewayRoutes",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "Routes")
)
input <- .ec2$search_local_gateway_routes_input(LocalGatewayRouteTableId = LocalGatewayRouteTableId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$search_local_gateway_routes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$search_local_gateway_routes <- ec2_search_local_gateway_routes
#' Searches one or more transit gateway multicast groups and returns the
#' group membership information
#'
#' @description
#' Searches one or more transit gateway multicast groups and returns the group membership information.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_search_transit_gateway_multicast_groups/](https://www.paws-r-sdk.com/docs/ec2_search_transit_gateway_multicast_groups/) for full documentation.
#'
#' @param TransitGatewayMulticastDomainId [required] The ID of the transit gateway multicast domain.
#' @param Filters One or more filters. The possible values are:
#'
#' - `group-ip-address` - The IP address of the transit gateway multicast
#' group.
#'
#' - `is-group-member` - The resource is a group member. Valid values are
#' `true` | `false`.
#'
#' - `is-group-source` - The resource is a group source. Valid values are
#' `true` | `false`.
#'
#' - `member-type` - The member type. Valid values are `igmp` | `static`.
#'
#' - `resource-id` - The ID of the resource.
#'
#' - `resource-type` - The type of resource. Valid values are `vpc` |
#' `vpn` | `direct-connect-gateway` | `tgw-peering`.
#'
#' - `source-type` - The source type. Valid values are `igmp` | `static`.
#'
#' - `subnet-id` - The ID of the subnet.
#'
#' - `transit-gateway-attachment-id` - The id of the transit gateway
#' attachment.
#' @param MaxResults The maximum number of results to return with a single call. To retrieve
#' the remaining results, make another call with the returned `nextToken`
#' value.
#' @param NextToken The token for the next page of results.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_search_transit_gateway_multicast_groups
ec2_search_transit_gateway_multicast_groups <- function(TransitGatewayMulticastDomainId, Filters = NULL, MaxResults = NULL, NextToken = NULL, DryRun = NULL) {
op <- new_operation(
name = "SearchTransitGatewayMulticastGroups",
http_method = "POST",
http_path = "/",
paginator = list(input_token = "NextToken", limit_key = "MaxResults", output_token = "NextToken", result_key = "MulticastGroups")
)
input <- .ec2$search_transit_gateway_multicast_groups_input(TransitGatewayMulticastDomainId = TransitGatewayMulticastDomainId, Filters = Filters, MaxResults = MaxResults, NextToken = NextToken, DryRun = DryRun)
output <- .ec2$search_transit_gateway_multicast_groups_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$search_transit_gateway_multicast_groups <- ec2_search_transit_gateway_multicast_groups
#' Searches for routes in the specified transit gateway route table
#'
#' @description
#' Searches for routes in the specified transit gateway route table.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_search_transit_gateway_routes/](https://www.paws-r-sdk.com/docs/ec2_search_transit_gateway_routes/) for full documentation.
#'
#' @param TransitGatewayRouteTableId [required] The ID of the transit gateway route table.
#' @param Filters [required] One or more filters. The possible values are:
#'
#' - `attachment.transit-gateway-attachment-id`- The id of the transit
#' gateway attachment.
#'
#' - `attachment.resource-id` - The resource id of the transit gateway
#' attachment.
#'
#' - `attachment.resource-type` - The attachment resource type. Valid
#' values are `vpc` | `vpn` | `direct-connect-gateway` | `peering` |
#' `connect`.
#'
#' - `prefix-list-id` - The ID of the prefix list.
#'
#' - `route-search.exact-match` - The exact match of the specified
#' filter.
#'
#' - `route-search.longest-prefix-match` - The longest prefix that
#' matches the route.
#'
#' - `route-search.subnet-of-match` - The routes with a subnet that match
#' the specified CIDR filter.
#'
#' - `route-search.supernet-of-match` - The routes with a CIDR that
#' encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
#' 10.0.1.0/31 routes in your route table and you specify
#' supernet-of-match as 10.0.1.0/30, then the result returns
#' 10.0.1.0/29.
#'
#' - `state` - The state of the route (`active` | `blackhole`).
#'
#' - `type` - The type of route (`propagated` | `static`).
#' @param MaxResults The maximum number of routes to return. If a value is not provided, the
#' default is 1000.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_search_transit_gateway_routes
ec2_search_transit_gateway_routes <- function(TransitGatewayRouteTableId, Filters, MaxResults = NULL, DryRun = NULL) {
op <- new_operation(
name = "SearchTransitGatewayRoutes",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$search_transit_gateway_routes_input(TransitGatewayRouteTableId = TransitGatewayRouteTableId, Filters = Filters, MaxResults = MaxResults, DryRun = DryRun)
output <- .ec2$search_transit_gateway_routes_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$search_transit_gateway_routes <- ec2_search_transit_gateway_routes
#' Sends a diagnostic interrupt to the specified Amazon EC2 instance to
#' trigger a kernel panic (on Linux instances), or a blue screen/stop error
#' (on Windows instances)
#'
#' @description
#' Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a *kernel panic* (on Linux instances), or a *blue screen*/*stop error* (on Windows instances). For instances based on Intel and AMD processors, the interrupt is received as a *non-maskable interrupt* (NMI).
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_send_diagnostic_interrupt/](https://www.paws-r-sdk.com/docs/ec2_send_diagnostic_interrupt/) for full documentation.
#'
#' @param InstanceId [required] The ID of the instance.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_send_diagnostic_interrupt
ec2_send_diagnostic_interrupt <- function(InstanceId, DryRun = NULL) {
op <- new_operation(
name = "SendDiagnosticInterrupt",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$send_diagnostic_interrupt_input(InstanceId = InstanceId, DryRun = DryRun)
output <- .ec2$send_diagnostic_interrupt_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$send_diagnostic_interrupt <- ec2_send_diagnostic_interrupt
#' Starts an Amazon EBS-backed instance that you've previously stopped
#'
#' @description
#' Starts an Amazon EBS-backed instance that you've previously stopped.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_start_instances/](https://www.paws-r-sdk.com/docs/ec2_start_instances/) for full documentation.
#'
#' @param InstanceIds [required] The IDs of the instances.
#' @param AdditionalInfo Reserved.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_start_instances
ec2_start_instances <- function(InstanceIds, AdditionalInfo = NULL, DryRun = NULL) {
op <- new_operation(
name = "StartInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$start_instances_input(InstanceIds = InstanceIds, AdditionalInfo = AdditionalInfo, DryRun = DryRun)
output <- .ec2$start_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$start_instances <- ec2_start_instances
#' Starts analyzing the specified Network Access Scope
#'
#' @description
#' Starts analyzing the specified Network Access Scope.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_start_network_insights_access_scope_analysis/](https://www.paws-r-sdk.com/docs/ec2_start_network_insights_access_scope_analysis/) for full documentation.
#'
#' @param NetworkInsightsAccessScopeId [required] The ID of the Network Access Scope.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to apply.
#' @param ClientToken [required] Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_start_network_insights_access_scope_analysis
ec2_start_network_insights_access_scope_analysis <- function(NetworkInsightsAccessScopeId, DryRun = NULL, TagSpecifications = NULL, ClientToken) {
op <- new_operation(
name = "StartNetworkInsightsAccessScopeAnalysis",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$start_network_insights_access_scope_analysis_input(NetworkInsightsAccessScopeId = NetworkInsightsAccessScopeId, DryRun = DryRun, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$start_network_insights_access_scope_analysis_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$start_network_insights_access_scope_analysis <- ec2_start_network_insights_access_scope_analysis
#' Starts analyzing the specified path
#'
#' @description
#' Starts analyzing the specified path. If the path is reachable, the operation returns the shortest feasible path.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_start_network_insights_analysis/](https://www.paws-r-sdk.com/docs/ec2_start_network_insights_analysis/) for full documentation.
#'
#' @param NetworkInsightsPathId [required] The ID of the path.
#' @param AdditionalAccounts The member accounts that contain resources that the path can traverse.
#' @param FilterInArns The Amazon Resource Names (ARN) of the resources that the path must
#' traverse.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param TagSpecifications The tags to apply.
#' @param ClientToken [required] Unique, case-sensitive identifier that you provide to ensure the
#' idempotency of the request. For more information, see [How to ensure
#' idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname ec2_start_network_insights_analysis
ec2_start_network_insights_analysis <- function(NetworkInsightsPathId, AdditionalAccounts = NULL, FilterInArns = NULL, DryRun = NULL, TagSpecifications = NULL, ClientToken) {
op <- new_operation(
name = "StartNetworkInsightsAnalysis",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$start_network_insights_analysis_input(NetworkInsightsPathId = NetworkInsightsPathId, AdditionalAccounts = AdditionalAccounts, FilterInArns = FilterInArns, DryRun = DryRun, TagSpecifications = TagSpecifications, ClientToken = ClientToken)
output <- .ec2$start_network_insights_analysis_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$start_network_insights_analysis <- ec2_start_network_insights_analysis
#' Initiates the verification process to prove that the service provider
#' owns the private DNS name domain for the endpoint service
#'
#' @description
#' Initiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_start_vpc_endpoint_service_private_dns_verification/](https://www.paws-r-sdk.com/docs/ec2_start_vpc_endpoint_service_private_dns_verification/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param ServiceId [required] The ID of the endpoint service.
#'
#' @keywords internal
#'
#' @rdname ec2_start_vpc_endpoint_service_private_dns_verification
ec2_start_vpc_endpoint_service_private_dns_verification <- function(DryRun = NULL, ServiceId) {
op <- new_operation(
name = "StartVpcEndpointServicePrivateDnsVerification",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$start_vpc_endpoint_service_private_dns_verification_input(DryRun = DryRun, ServiceId = ServiceId)
output <- .ec2$start_vpc_endpoint_service_private_dns_verification_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$start_vpc_endpoint_service_private_dns_verification <- ec2_start_vpc_endpoint_service_private_dns_verification
#' Stops an Amazon EBS-backed instance
#'
#' @description
#' Stops an Amazon EBS-backed instance. For more information, see [Stop and start your instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_stop_instances/](https://www.paws-r-sdk.com/docs/ec2_stop_instances/) for full documentation.
#'
#' @param InstanceIds [required] The IDs of the instances.
#' @param Hibernate Hibernates the instance if the instance was enabled for hibernation at
#' launch. If the instance cannot hibernate successfully, a normal shutdown
#' occurs. For more information, see [Hibernate your
#' instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html)
#' in the *Amazon EC2 User Guide*.
#'
#' Default: `false`
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param Force Forces the instances to stop. The instances do not have an opportunity
#' to flush file system caches or file system metadata. If you use this
#' option, you must perform file system check and repair procedures. This
#' option is not recommended for Windows instances.
#'
#' Default: `false`
#'
#' @keywords internal
#'
#' @rdname ec2_stop_instances
ec2_stop_instances <- function(InstanceIds, Hibernate = NULL, DryRun = NULL, Force = NULL) {
op <- new_operation(
name = "StopInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$stop_instances_input(InstanceIds = InstanceIds, Hibernate = Hibernate, DryRun = DryRun, Force = Force)
output <- .ec2$stop_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$stop_instances <- ec2_stop_instances
#' Terminates active Client VPN endpoint connections
#'
#' @description
#' Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_terminate_client_vpn_connections/](https://www.paws-r-sdk.com/docs/ec2_terminate_client_vpn_connections/) for full documentation.
#'
#' @param ClientVpnEndpointId [required] The ID of the Client VPN endpoint to which the client is connected.
#' @param ConnectionId The ID of the client connection to be terminated.
#' @param Username The name of the user who initiated the connection. Use this option to
#' terminate all active connections for the specified user. This option can
#' only be used if the user has established up to five connections.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_terminate_client_vpn_connections
ec2_terminate_client_vpn_connections <- function(ClientVpnEndpointId, ConnectionId = NULL, Username = NULL, DryRun = NULL) {
op <- new_operation(
name = "TerminateClientVpnConnections",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$terminate_client_vpn_connections_input(ClientVpnEndpointId = ClientVpnEndpointId, ConnectionId = ConnectionId, Username = Username, DryRun = DryRun)
output <- .ec2$terminate_client_vpn_connections_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$terminate_client_vpn_connections <- ec2_terminate_client_vpn_connections
#' Shuts down the specified instances
#'
#' @description
#' Shuts down the specified instances. This operation is idempotent; if you terminate an instance more than once, each call succeeds.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_terminate_instances/](https://www.paws-r-sdk.com/docs/ec2_terminate_instances/) for full documentation.
#'
#' @param InstanceIds [required] The IDs of the instances.
#'
#' Constraints: Up to 1000 instance IDs. We recommend breaking up this
#' request into smaller batches.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_terminate_instances
ec2_terminate_instances <- function(InstanceIds, DryRun = NULL) {
op <- new_operation(
name = "TerminateInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$terminate_instances_input(InstanceIds = InstanceIds, DryRun = DryRun)
output <- .ec2$terminate_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$terminate_instances <- ec2_terminate_instances
#' Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes
#' from a network interface
#'
#' @description
#' Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network interface.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_unassign_ipv_6_addresses/](https://www.paws-r-sdk.com/docs/ec2_unassign_ipv_6_addresses/) for full documentation.
#'
#' @param Ipv6Addresses The IPv6 addresses to unassign from the network interface.
#' @param Ipv6Prefixes The IPv6 prefixes to unassign from the network interface.
#' @param NetworkInterfaceId [required] The ID of the network interface.
#'
#' @keywords internal
#'
#' @rdname ec2_unassign_ipv_6_addresses
ec2_unassign_ipv_6_addresses <- function(Ipv6Addresses = NULL, Ipv6Prefixes = NULL, NetworkInterfaceId) {
op <- new_operation(
name = "UnassignIpv6Addresses",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$unassign_ipv_6_addresses_input(Ipv6Addresses = Ipv6Addresses, Ipv6Prefixes = Ipv6Prefixes, NetworkInterfaceId = NetworkInterfaceId)
output <- .ec2$unassign_ipv_6_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$unassign_ipv_6_addresses <- ec2_unassign_ipv_6_addresses
#' Unassigns one or more secondary private IP addresses, or IPv4 Prefix
#' Delegation prefixes from a network interface
#'
#' @description
#' Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a network interface.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_unassign_private_ip_addresses/](https://www.paws-r-sdk.com/docs/ec2_unassign_private_ip_addresses/) for full documentation.
#'
#' @param NetworkInterfaceId [required] The ID of the network interface.
#' @param PrivateIpAddresses The secondary private IP addresses to unassign from the network
#' interface. You can specify this option multiple times to unassign more
#' than one IP address.
#' @param Ipv4Prefixes The IPv4 prefixes to unassign from the network interface.
#'
#' @keywords internal
#'
#' @rdname ec2_unassign_private_ip_addresses
ec2_unassign_private_ip_addresses <- function(NetworkInterfaceId, PrivateIpAddresses = NULL, Ipv4Prefixes = NULL) {
op <- new_operation(
name = "UnassignPrivateIpAddresses",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$unassign_private_ip_addresses_input(NetworkInterfaceId = NetworkInterfaceId, PrivateIpAddresses = PrivateIpAddresses, Ipv4Prefixes = Ipv4Prefixes)
output <- .ec2$unassign_private_ip_addresses_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$unassign_private_ip_addresses <- ec2_unassign_private_ip_addresses
#' Unassigns secondary private IPv4 addresses from a private NAT gateway
#'
#' @description
#' Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see [Edit secondary IP address associations](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary) in the *Amazon VPC User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_unassign_private_nat_gateway_address/](https://www.paws-r-sdk.com/docs/ec2_unassign_private_nat_gateway_address/) for full documentation.
#'
#' @param NatGatewayId [required] The ID of the NAT gateway.
#' @param PrivateIpAddresses [required] The private IPv4 addresses you want to unassign.
#' @param MaxDrainDurationSeconds The maximum amount of time to wait (in seconds) before forcibly
#' releasing the IP addresses if connections are still in progress. Default
#' value is 350 seconds.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_unassign_private_nat_gateway_address
ec2_unassign_private_nat_gateway_address <- function(NatGatewayId, PrivateIpAddresses, MaxDrainDurationSeconds = NULL, DryRun = NULL) {
op <- new_operation(
name = "UnassignPrivateNatGatewayAddress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$unassign_private_nat_gateway_address_input(NatGatewayId = NatGatewayId, PrivateIpAddresses = PrivateIpAddresses, MaxDrainDurationSeconds = MaxDrainDurationSeconds, DryRun = DryRun)
output <- .ec2$unassign_private_nat_gateway_address_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$unassign_private_nat_gateway_address <- ec2_unassign_private_nat_gateway_address
#' Unlocks a snapshot that is locked in governance mode or that is locked
#' in compliance mode but still in the cooling-off period
#'
#' @description
#' Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_unlock_snapshot/](https://www.paws-r-sdk.com/docs/ec2_unlock_snapshot/) for full documentation.
#'
#' @param SnapshotId [required] The ID of the snapshot to unlock.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_unlock_snapshot
ec2_unlock_snapshot <- function(SnapshotId, DryRun = NULL) {
op <- new_operation(
name = "UnlockSnapshot",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$unlock_snapshot_input(SnapshotId = SnapshotId, DryRun = DryRun)
output <- .ec2$unlock_snapshot_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$unlock_snapshot <- ec2_unlock_snapshot
#' Disables detailed monitoring for a running instance
#'
#' @description
#' Disables detailed monitoring for a running instance. For more information, see [Monitoring your instances and volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html) in the *Amazon EC2 User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_unmonitor_instances/](https://www.paws-r-sdk.com/docs/ec2_unmonitor_instances/) for full documentation.
#'
#' @param InstanceIds [required] The IDs of the instances.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_unmonitor_instances
ec2_unmonitor_instances <- function(InstanceIds, DryRun = NULL) {
op <- new_operation(
name = "UnmonitorInstances",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$unmonitor_instances_input(InstanceIds = InstanceIds, DryRun = DryRun)
output <- .ec2$unmonitor_instances_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$unmonitor_instances <- ec2_unmonitor_instances
#' Updates the description of an egress (outbound) security group rule
#'
#' @description
#' Updates the description of an egress (outbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously. You can remove a description for a security group rule by omitting the description parameter in the request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_update_security_group_rule_descriptions_egress/](https://www.paws-r-sdk.com/docs/ec2_update_security_group_rule_descriptions_egress/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupId The ID of the security group. You must specify either the security group
#' ID or the security group name in the request. For security groups in a
#' nondefault VPC, you must specify the security group ID.
#' @param GroupName \[Default VPC\] The name of the security group. You must specify either
#' the security group ID or the security group name.
#' @param IpPermissions The IP permissions for the security group rule. You must specify either
#' the IP permissions or the description.
#' @param SecurityGroupRuleDescriptions The description for the egress security group rules. You must specify
#' either the description or the IP permissions.
#'
#' @keywords internal
#'
#' @rdname ec2_update_security_group_rule_descriptions_egress
ec2_update_security_group_rule_descriptions_egress <- function(DryRun = NULL, GroupId = NULL, GroupName = NULL, IpPermissions = NULL, SecurityGroupRuleDescriptions = NULL) {
op <- new_operation(
name = "UpdateSecurityGroupRuleDescriptionsEgress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$update_security_group_rule_descriptions_egress_input(DryRun = DryRun, GroupId = GroupId, GroupName = GroupName, IpPermissions = IpPermissions, SecurityGroupRuleDescriptions = SecurityGroupRuleDescriptions)
output <- .ec2$update_security_group_rule_descriptions_egress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$update_security_group_rule_descriptions_egress <- ec2_update_security_group_rule_descriptions_egress
#' Updates the description of an ingress (inbound) security group rule
#'
#' @description
#' Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously. You can remove a description for a security group rule by omitting the description parameter in the request.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_update_security_group_rule_descriptions_ingress/](https://www.paws-r-sdk.com/docs/ec2_update_security_group_rule_descriptions_ingress/) for full documentation.
#'
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#' @param GroupId The ID of the security group. You must specify either the security group
#' ID or the security group name in the request. For security groups in a
#' nondefault VPC, you must specify the security group ID.
#' @param GroupName \[Default VPC\] The name of the security group. You must specify either
#' the security group ID or the security group name. For security groups in
#' a nondefault VPC, you must specify the security group ID.
#' @param IpPermissions The IP permissions for the security group rule. You must specify either
#' IP permissions or a description.
#' @param SecurityGroupRuleDescriptions The description for the ingress security group rules. You must specify
#' either a description or IP permissions.
#'
#' @keywords internal
#'
#' @rdname ec2_update_security_group_rule_descriptions_ingress
ec2_update_security_group_rule_descriptions_ingress <- function(DryRun = NULL, GroupId = NULL, GroupName = NULL, IpPermissions = NULL, SecurityGroupRuleDescriptions = NULL) {
op <- new_operation(
name = "UpdateSecurityGroupRuleDescriptionsIngress",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$update_security_group_rule_descriptions_ingress_input(DryRun = DryRun, GroupId = GroupId, GroupName = GroupName, IpPermissions = IpPermissions, SecurityGroupRuleDescriptions = SecurityGroupRuleDescriptions)
output <- .ec2$update_security_group_rule_descriptions_ingress_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$update_security_group_rule_descriptions_ingress <- ec2_update_security_group_rule_descriptions_ingress
#' Stops advertising an address range that is provisioned as an address
#' pool
#'
#' @description
#' Stops advertising an address range that is provisioned as an address pool.
#'
#' See [https://www.paws-r-sdk.com/docs/ec2_withdraw_byoip_cidr/](https://www.paws-r-sdk.com/docs/ec2_withdraw_byoip_cidr/) for full documentation.
#'
#' @param Cidr [required] The address range, in CIDR notation.
#' @param DryRun Checks whether you have the required permissions for the action, without
#' actually making the request, and provides an error response. If you have
#' the required permissions, the error response is `DryRunOperation`.
#' Otherwise, it is `UnauthorizedOperation`.
#'
#' @keywords internal
#'
#' @rdname ec2_withdraw_byoip_cidr
ec2_withdraw_byoip_cidr <- function(Cidr, DryRun = NULL) {
op <- new_operation(
name = "WithdrawByoipCidr",
http_method = "POST",
http_path = "/",
paginator = list()
)
input <- .ec2$withdraw_byoip_cidr_input(Cidr = Cidr, DryRun = DryRun)
output <- .ec2$withdraw_byoip_cidr_output()
config <- get_config()
svc <- .ec2$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.ec2$operations$withdraw_byoip_cidr <- ec2_withdraw_byoip_cidr
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.