Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ActionResult


    @Override
    public GroupPolicy createPolicy(PutGroupPolicyRequest request,
            ResultCapture<Void> extractor) {

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

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


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

        ActionResult result =
                service.performAction("CreateVpcPeeringConnection", request,
                extractor);

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

    @Override
    public List<Tag> createTags(CreateTagsRequest request, ResultCapture<Void>
            extractor) {

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

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

    @Override
    public Image registerImage(RegisterImageRequest request,
            ResultCapture<RegisterImageResult> extractor) {

        ActionResult result = service.performAction("RegisterImage", request,
                extractor);

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

    @Override
    public Snapshot createSnapshot(CreateSnapshotRequest request,
            ResultCapture<CreateSnapshotResult> extractor) {

        ActionResult result = service.performAction("CreateSnapshot", request,
                extractor);

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

    @Override
    public RouteTableAssociation associateWithSubnet(AssociateRouteTableRequest
            request, ResultCapture<AssociateRouteTableResult> extractor) {

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

        if (result == null) return null;
        return new RouteTableAssociationImpl(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 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 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 ReplaceNetworkAclAssociationResult replaceAssociation(
            ReplaceNetworkAclAssociationRequest request,
            ResultCapture<ReplaceNetworkAclAssociationResult> extractor) {

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

        if (result == null) return null;
        return (ReplaceNetworkAclAssociationResult) 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.