Class: Aws::EC2::Types::CreateNetworkInterfacePermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Contains the parameters for CreateNetworkInterfacePermission.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The Amazon Web Services account ID.

Returns:

  • (String)


9788
9789
9790
9791
9792
9793
9794
9795
9796
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9788

class CreateNetworkInterfacePermissionRequest < Struct.new(
  :network_interface_id,
  :aws_account_id,
  :aws_service,
  :permission,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#aws_serviceString

The Amazon Web Service. Currently not supported.

Returns:

  • (String)


9788
9789
9790
9791
9792
9793
9794
9795
9796
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9788

class CreateNetworkInterfacePermissionRequest < Struct.new(
  :network_interface_id,
  :aws_account_id,
  :aws_service,
  :permission,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


9788
9789
9790
9791
9792
9793
9794
9795
9796
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9788

class CreateNetworkInterfacePermissionRequest < Struct.new(
  :network_interface_id,
  :aws_account_id,
  :aws_service,
  :permission,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


9788
9789
9790
9791
9792
9793
9794
9795
9796
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9788

class CreateNetworkInterfacePermissionRequest < Struct.new(
  :network_interface_id,
  :aws_account_id,
  :aws_service,
  :permission,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#permissionString

The type of permission to grant.

Returns:

  • (String)


9788
9789
9790
9791
9792
9793
9794
9795
9796
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9788

class CreateNetworkInterfacePermissionRequest < Struct.new(
  :network_interface_id,
  :aws_account_id,
  :aws_service,
  :permission,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end