Class: Aws::EC2::Types::DeleteNetworkInterfacePermissionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DeleteNetworkInterfacePermissionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass DeleteNetworkInterfacePermissionRequest data as a hash:
{
network_interface_permission_id: "String", # required
force: false,
dry_run: false,
}
Contains the parameters for DeleteNetworkInterfacePermission.
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#force ⇒ Boolean
Specify ‘true` to remove the permission even if the network interface is attached to an instance.
-
#network_interface_permission_id ⇒ String
The ID of the network interface permission.
Instance Attribute Details
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8286 8287 8288 8289 8290 8291 |
# File 'lib/aws-sdk-ec2/types.rb', line 8286 class DeleteNetworkInterfacePermissionRequest < Struct.new( :network_interface_permission_id, :force, :dry_run) include Aws::Structure end |
#force ⇒ Boolean
Specify ‘true` to remove the permission even if the network interface is attached to an instance.
8286 8287 8288 8289 8290 8291 |
# File 'lib/aws-sdk-ec2/types.rb', line 8286 class DeleteNetworkInterfacePermissionRequest < Struct.new( :network_interface_permission_id, :force, :dry_run) include Aws::Structure end |
#network_interface_permission_id ⇒ String
The ID of the network interface permission.
8286 8287 8288 8289 8290 8291 |
# File 'lib/aws-sdk-ec2/types.rb', line 8286 class DeleteNetworkInterfacePermissionRequest < Struct.new( :network_interface_permission_id, :force, :dry_run) include Aws::Structure end |