Package com.amazonaws.resources.internal

Examples of com.amazonaws.resources.internal.ActionResult


    @Override
    public Map<String, Integer> accountSummary(GetAccountSummaryRequest request,
            ResultCapture<GetAccountSummaryResult> extractor) {

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

        if (result == null) return null;
        return (Map<String, Integer>) result.getData();
    }
View Full Code Here


    @Override
    public InstanceProfile createInstanceProfile(CreateInstanceProfileRequest
            request, ResultCapture<CreateInstanceProfileResult> extractor) {

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

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

    @Override
    public SamlProvider createSamlProvider(CreateSAMLProviderRequest request,
            ResultCapture<CreateSAMLProviderResult> extractor) {

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

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

    @Override
    public AccountPasswordPolicy createAccountPasswordPolicy(
            UpdateAccountPasswordPolicyRequest request, ResultCapture<Void>
            extractor) {

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

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

    @Override
    public AccountAlias createAccountAlias(CreateAccountAliasRequest request,
            ResultCapture<Void> extractor) {

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

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

    @Override
    public ServerCertificate createServerCertificate(
            UploadServerCertificateRequest request,
            ResultCapture<UploadServerCertificateResult> extractor) {

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

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

    @Override
    public SigningCertificate createSigningCertificate(
            UploadSigningCertificateRequest request,
            ResultCapture<UploadSigningCertificateResult> extractor) {

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

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

    @Override
    public ServerCertificate update(UpdateServerCertificateRequest request,
            ResultCapture<Void> extractor) {

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

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

    @Override
    public Group update(UpdateGroupRequest request, ResultCapture<Void>
            extractor) {

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

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

    @Override
    public CreateGroupResult create(CreateGroupRequest request,
            ResultCapture<CreateGroupResult> extractor) {

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

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