Code Signing for AWS IoT
Developer Guide


The following example shows how to use the CancelSigningProfile operation.

package com.examples; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import; import; import; /** * This examples demonstrates creating a code signing profile and using it to start a signing job. */ public class CancelSigningProfile { public static void main(String[] s) { final String credentialsProfile = "default"; final String codeSigningProfileName = "MyProfile"; // Create a client. final AWSSigner client = AWSSignerClient.builder() .withRegion("us-west-2") .withCredentials(new ProfileCredentialsProvider(credentialsProfile)) .build(); // cancel a signing profile client.cancelSigningProfile(new CancelSigningProfileRequest().withProfileName(codeSigningProfileName)); } }