private void init() { exceptionUnmarshallers.add(new BucketPermissionExceptionUnmarshaller()); exceptionUnmarshallers.add(new UnableToUpdateJobIdExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidFileSystemExceptionUnmarshaller()); exceptionUnmarshallers.add(new MissingCustomsExceptionUnmarshaller()); exceptionUnmarshallers.add(new ExpiredJobIdExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidManifestFieldExceptionUnmarshaller()); exceptionUnmarshallers.add(new MissingManifestFieldExceptionUnmarshaller()); exceptionUnmarshallers.add(new MalformedManifestExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidAddressExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidParameterExceptionUnmarshaller()); exceptionUnmarshallers.add(new MultipleRegionsExceptionUnmarshaller()); exceptionUnmarshallers.add(new UnableToCancelJobIdExceptionUnmarshaller()); exceptionUnmarshallers.add(new CanceledJobIdExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidJobIdExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidVersionExceptionUnmarshaller()); exceptionUnmarshallers.add(new NoSuchBucketExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidAccessKeyIdExceptionUnmarshaller()); exceptionUnmarshallers.add(new CreateJobQuotaExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new MissingParameterExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidCustomsExceptionUnmarshaller()); exceptionUnmarshallers.add(new StandardErrorUnmarshaller()); // calling this.setEndPoint(...) will also modify the signer accordingly this.setEndpoint("importexport.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll( chainFactory.newRequestHandlerChain( "/com/amazonaws/services/importexport/request.handlers")); requestHandler2s.addAll( chainFactory.newRequestHandler2Chain( "/com/amazonaws/services/importexport/request.handler2s")); }
private void init() { exceptionUnmarshallers.add(new AlreadyExistsExceptionUnmarshaller()); exceptionUnmarshallers.add(new InsufficientCapabilitiesExceptionUnmarshaller()); exceptionUnmarshallers.add(new LimitExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new StandardErrorUnmarshaller()); // calling this.setEndPoint(...) will also modify the signer accordingly this.setEndpoint("cloudformation.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll( chainFactory.newRequestHandlerChain( "/com/amazonaws/services/cloudformation/request.handlers")); requestHandler2s.addAll( chainFactory.newRequestHandler2Chain( "/com/amazonaws/services/cloudformation/request.handler2s")); }
private void init() { exceptionUnmarshallers.add(new ExpiredTokenExceptionUnmarshaller()); exceptionUnmarshallers.add(new IDPCommunicationErrorExceptionUnmarshaller()); exceptionUnmarshallers.add(new MalformedPolicyDocumentExceptionUnmarshaller()); exceptionUnmarshallers.add(new PackedPolicyTooLargeExceptionUnmarshaller()); exceptionUnmarshallers.add(new IDPRejectedClaimExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidIdentityTokenExceptionUnmarshaller()); exceptionUnmarshallers.add(new StandardErrorUnmarshaller()); // calling this.setEndPoint(...) will also modify the signer accordingly this.setEndpoint("sts.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll( chainFactory.newRequestHandlerChain( "/com/amazonaws/services/securitytoken/request.handlers")); requestHandler2s.addAll( chainFactory.newRequestHandler2Chain( "/com/amazonaws/services/securitytoken/request.handler2s")); }