Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ActionResult


    @Override
    public SecurityGroup createSecurityGroup(CreateSecurityGroupRequest request,
            ResultCapture<CreateSecurityGroupResult> extractor) {

        ActionResult result = resource.performAction("CreateSecurityGroup",
                request, extractor);

        if (result == null) return null;
        return new SecurityGroupImpl(result.getResource());
    }
View Full Code Here


    @Override
    public VpcPeeringConnection requestVpcPeeringConnection(
            CreateVpcPeeringConnectionRequest request,
            ResultCapture<CreateVpcPeeringConnectionResult> extractor) {

        ActionResult result =
                resource.performAction("RequestVpcPeeringConnection", request,
                extractor);

        if (result == null) return null;
        return new VpcPeeringConnectionImpl(result.getResource());
    }
View Full Code Here

    @Override
    public Subnet createSubnet(CreateSubnetRequest request,
            ResultCapture<CreateSubnetResult> extractor) {

        ActionResult result = resource.performAction("CreateSubnet", request,
                extractor);

        if (result == null) return null;
        return new SubnetImpl(result.getResource());
    }
View Full Code Here

    @Override
    public NetworkAcl createNetworkAcl(CreateNetworkAclRequest request,
            ResultCapture<CreateNetworkAclResult> extractor) {

        ActionResult result = resource.performAction("CreateNetworkAcl",
                request, extractor);

        if (result == null) return null;
        return new NetworkAclImpl(result.getResource());
    }
View Full Code Here

    @Override
    public DescribeVpcAttributeResult describeAttribute(
            DescribeVpcAttributeRequest request,
            ResultCapture<DescribeVpcAttributeResult> extractor) {

        ActionResult result = resource.performAction("DescribeAttribute",
                request, extractor);

        if (result == null) return null;
        return (DescribeVpcAttributeResult) result.getData();
    }
View Full Code Here

    @Override
    public RouteTable createRouteTable(CreateRouteTableRequest request,
            ResultCapture<CreateRouteTableResult> extractor) {

        ActionResult result = resource.performAction("CreateRouteTable",
                request, extractor);

        if (result == null) return null;
        return new RouteTableImpl(result.getResource());
    }
View Full Code Here

    @Override
    public List<com.amazonaws.resources.ec2.Tag> createTags(CreateTagsRequest
            request, ResultCapture<Void> extractor) {

        ActionResult result = resource.performAction("CreateTags", request,
                extractor);

        if (result == null) return null;
        return CodecUtils.transform(result.getResources(), TagImpl.CODEC);
    }
View Full Code Here

    @Override
    public DeleteVpcPeeringConnectionResult delete(
            DeleteVpcPeeringConnectionRequest request,
            ResultCapture<DeleteVpcPeeringConnectionResult> extractor) {

        ActionResult result = resource.performAction("Delete", request,
                extractor);

        if (result == null) return null;
        return (DeleteVpcPeeringConnectionResult) result.getData();
    }
View Full Code Here

    @Override
    public RejectVpcPeeringConnectionResult reject(
            RejectVpcPeeringConnectionRequest request,
            ResultCapture<RejectVpcPeeringConnectionResult> extractor) {

        ActionResult result = resource.performAction("Reject", request,
                extractor);

        if (result == null) return null;
        return (RejectVpcPeeringConnectionResult) result.getData();
    }
View Full Code Here

    @Override
    public AcceptVpcPeeringConnectionResult accept(
            AcceptVpcPeeringConnectionRequest request,
            ResultCapture<AcceptVpcPeeringConnectionResult> extractor) {

        ActionResult result = resource.performAction("Accept", request,
                extractor);

        if (result == null) return null;
        return (AcceptVpcPeeringConnectionResult) result.getData();
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.resources.internal.ActionResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.