Package com.amazonaws.services.identitymanagement.model

Examples of com.amazonaws.services.identitymanagement.model.EnableMFADeviceRequest


    @Override
    public void enable(String authenticationCode1, String authenticationCode2,
            ResultCapture<Void> extractor) {

        EnableMFADeviceRequest request = new EnableMFADeviceRequest()
            .withAuthenticationCode1(authenticationCode1)
            .withAuthenticationCode2(authenticationCode2);
        enable(request, extractor);
    }
View Full Code Here


    @Override
    public MfaDevice enableMfa(String serialNumber, String authenticationCode1,
            String authenticationCode2, ResultCapture<Void> extractor) {

        EnableMFADeviceRequest request = new EnableMFADeviceRequest()
            .withSerialNumber(serialNumber)
            .withAuthenticationCode1(authenticationCode1)
            .withAuthenticationCode2(authenticationCode2);
        return enableMfa(request, extractor);
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.identitymanagement.model.EnableMFADeviceRequest

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.