Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ActionResult


    @Override
    public DescribeImageAttributeResult describeAttribute(
            DescribeImageAttributeRequest request,
            ResultCapture<DescribeImageAttributeResult> extractor) {

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

        if (result == null) return null;
        return (DescribeImageAttributeResult) result.getData();
    }
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 DescribeNetworkInterfaceAttributeResult describeAttribute(
            DescribeNetworkInterfaceAttributeRequest request,
            ResultCapture<DescribeNetworkInterfaceAttributeResult> extractor) {

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

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

    @Override
    public AttachNetworkInterfaceResult attach(AttachNetworkInterfaceRequest
            request, ResultCapture<AttachNetworkInterfaceResult> extractor) {

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

        if (result == null) return null;
        return (AttachNetworkInterfaceResult) result.getData();
    }
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 GetJobOutputResult getOutput(GetJobOutputRequest request,
            ResultCapture<GetJobOutputResult> extractor) {

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

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

    @Override
    public Job initiateArchiveRetreival(InitiateJobRequest request,
            ResultCapture<InitiateJobResult> extractor) {

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

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

    @Override
    public Vault createVault(CreateVaultRequest request,
            ResultCapture<CreateVaultResult> extractor) {

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

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

    @Override
    public Vault createVault(CreateVaultRequest request,
            ResultCapture<CreateVaultResult> extractor) {

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

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

    @Override
    public ListPartsResult parts(ListPartsRequest request,
            ResultCapture<ListPartsResult> extractor) {

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

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