Example usage for com.amazonaws.services.codedeploy.model S3Location getBundleType

List of usage examples for com.amazonaws.services.codedeploy.model S3Location getBundleType

Introduction

In this page you can find the example usage for com.amazonaws.services.codedeploy.model S3Location getBundleType.

Prototype


public String getBundleType() 

Source Link

Document

The file type of the application revision.

Usage

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());
}