Class: Aws::EC2::Types::CreateVpcEndpointConnectionNotificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateVpcEndpointConnectionNotificationRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass CreateVpcEndpointConnectionNotificationRequest data as a hash:
{
dry_run: false,
service_id: "String",
vpc_endpoint_id: "String",
connection_notification_arn: "String", # required
connection_events: ["String"], # required
client_token: "String",
}
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
-
#connection_events ⇒ Array<String>
One or more endpoint events for which to receive notifications.
-
#connection_notification_arn ⇒ String
The ARN of the SNS topic for the notifications.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#service_id ⇒ String
The ID of the endpoint service.
-
#vpc_endpoint_id ⇒ String
The ID of the endpoint.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see [How to Ensure Idempotency].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/aws-sdk-ec2/types.rb', line 6999 class CreateVpcEndpointConnectionNotificationRequest < Struct.new( :dry_run, :service_id, :vpc_endpoint_id, :connection_notification_arn, :connection_events, :client_token) include Aws::Structure end |
#connection_events ⇒ Array<String>
One or more endpoint events for which to receive notifications. Valid values are ‘Accept`, `Connect`, `Delete`, and `Reject`.
6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/aws-sdk-ec2/types.rb', line 6999 class CreateVpcEndpointConnectionNotificationRequest < Struct.new( :dry_run, :service_id, :vpc_endpoint_id, :connection_notification_arn, :connection_events, :client_token) include Aws::Structure end |
#connection_notification_arn ⇒ String
The ARN of the SNS topic for the notifications.
6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/aws-sdk-ec2/types.rb', line 6999 class CreateVpcEndpointConnectionNotificationRequest < Struct.new( :dry_run, :service_id, :vpc_endpoint_id, :connection_notification_arn, :connection_events, :client_token) include Aws::Structure end |
#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`.
6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/aws-sdk-ec2/types.rb', line 6999 class CreateVpcEndpointConnectionNotificationRequest < Struct.new( :dry_run, :service_id, :vpc_endpoint_id, :connection_notification_arn, :connection_events, :client_token) include Aws::Structure end |
#service_id ⇒ String
The ID of the endpoint service.
6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/aws-sdk-ec2/types.rb', line 6999 class CreateVpcEndpointConnectionNotificationRequest < Struct.new( :dry_run, :service_id, :vpc_endpoint_id, :connection_notification_arn, :connection_events, :client_token) include Aws::Structure end |
#vpc_endpoint_id ⇒ String
The ID of the endpoint.
6999 7000 7001 7002 7003 7004 7005 7006 7007 |
# File 'lib/aws-sdk-ec2/types.rb', line 6999 class CreateVpcEndpointConnectionNotificationRequest < Struct.new( :dry_run, :service_id, :vpc_endpoint_id, :connection_notification_arn, :connection_events, :client_token) include Aws::Structure end |