List of usage examples for com.amazonaws.services.codedeploy.model S3Location getBucket
public String getBucket()
The name of the Amazon S3 bucket where the application revision is stored.
From source file:jetbrains.buildServer.runner.codedeploy.AWSClient.java
License:Apache License
private void doRegisterRevision(@NotNull RevisionLocation revisionLocation, @NotNull String applicationName) { final S3Location s3Location = revisionLocation.getS3Location(); myListener.registerRevisionStarted(applicationName, s3Location.getBucket(), s3Location.getKey(), s3Location.getBundleType(), s3Location.getVersion(), s3Location.getETag()); myCodeDeployClient.registerApplicationRevision(new RegisterApplicationRevisionRequest() .withRevision(revisionLocation).withApplicationName(applicationName) .withDescription(getDescription("Application revision registered by ", 100))); myListener.registerRevisionFinished(applicationName, s3Location.getBucket(), s3Location.getKey(), s3Location.getBundleType(), s3Location.getVersion(), s3Location.getETag()); }