Interface InternetGatewayApi


  • @Path("/")
    public interface InternetGatewayApi
    Provides access to InternetGateway Services.
    See Also:
    InternetGateway docs

    • Method Detail

      • detachInternetGateway

        @Named("DetachInternetGateway")
        @POST
        Boolean detachInternetGateway​(@Nullable
                                      String region,
                                      @FormParam("InternetGatewayId")
                                      String internetGatewayId,
                                      @FormParam("VpcId")
                                      String vpcId)
        Detaches an InternetGateway from a VPC
        Parameters:
        region - Region where the VPC exists
        internetGatewayId - ID of the gateway to detach
        vpcId - The ID of the VPC
      • detachInternetGateway

        @Named("DetachInternetGateway")
        @POST
        Boolean detachInternetGateway​(@Nullable
                                      String region,
                                      @FormParam("InternetGatewayId")
                                      String internetGatewayId,
                                      @FormParam("VpcId")
                                      String vpcId,
                                      InternetGatewayOptions options)
        Detaches an InternetGateway from a VPC, supplying options.
        Parameters:
        region - Region where the VPC exists
        internetGatewayId - ID of the gateway to detach
        vpcId - The ID of the VPC
        options - Options for the request
      • attachInternetGateway

        @Named("AttachInternetGateway")
        @POST
        Boolean attachInternetGateway​(@Nullable
                                      String region,
                                      @FormParam("InternetGatewayId")
                                      String internetGatewayId,
                                      @FormParam("VpcId")
                                      String vpcId)
        Attaches an InternetGateway to a VPC
        Parameters:
        region - Region where the VPC exists
        internetGatewayId - ID of the gateway to attach
        vpcId - The ID of the VPC
      • attachInternetGateway

        @Named("AttachInternetGateway")
        @POST
        Boolean attachInternetGateway​(@Nullable
                                      String region,
                                      @FormParam("InternetGatewayId")
                                      String internetGatewayId,
                                      @FormParam("VpcId")
                                      String vpcId,
                                      InternetGatewayOptions options)
        Attaches an InternetGateway to a VPC, supplying options.
        Parameters:
        region - Region where the VPC exists
        internetGatewayId - ID of the gateway to attach
        vpcId - The ID of the VPC
        options - Options for the request
      • deleteInternetGateway

        @Named("DeleteInternetGateway")
        @POST
        boolean deleteInternetGateway​(@Nullable
                                      String region,
                                      @FormParam("InternetGatewayId")
                                      String internetGatewayId)
        Deletes an InternetGateway.
        Parameters:
        region - gateways are tied to the Region where its files are located within Amazon S3.
        internetGatewayId - The gateway ID.
      • deleteInternetGateway

        @Named("DeleteInternetGateway")
        @POST
        boolean deleteInternetGateway​(@Nullable
                                      String region,
                                      @FormParam("InternetGatewayId")
                                      String internetGatewayId,
                                      InternetGatewayOptions options)
        Deletes an InternetGateway, supplying options.
        Parameters:
        region - gateways are tied to the Region where its files are located within Amazon S3.
        internetGatewayId - The gateway ID.
        options - Options for the request
      • describeInternetGatewaysInRegion

        @Named("DescribeInternetGateways")
        @POST
        com.google.common.collect.FluentIterable<InternetGateway> describeInternetGatewaysInRegion​(@Nullable
                                                                                                   String region,
                                                                                                   String... internetGatewayIds)
        Describes InternetGateways.
        Parameters:
        region - The region to search for gateways.
        internetGatewayIds - Optional list of known gateway ids to restrict the search
        Returns:
        InternetGateways or empty if there are none.