public Request<DeleteVaultNotificationsRequest> marshall(
      DeleteVaultNotificationsRequest deleteVaultNotificationsRequest) {

    if (deleteVaultNotificationsRequest == null) {
      throw new SdkClientException("Invalid argument passed to marshall(...)");
    }

    Request<DeleteVaultNotificationsRequest> request =
        new DefaultRequest<DeleteVaultNotificationsRequest>(
            deleteVaultNotificationsRequest, "AmazonGlacier");

    request.setHttpMethod(HttpMethodName.DELETE);

    String uriResourcePath = "/{accountId}/vaults/{vaultName}/notification-configuration";

    uriResourcePath =
        com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(
            uriResourcePath,
            "accountId",
            deleteVaultNotificationsRequest.getAccountId() == null
                ? "-"
                : deleteVaultNotificationsRequest.getAccountId());
    uriResourcePath =
        com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(
            uriResourcePath, "vaultName", deleteVaultNotificationsRequest.getVaultName());
    request.setResourcePath(uriResourcePath);

    request.setContent(new ByteArrayInputStream(new byte[0]));
    if (!request.getHeaders().containsKey("Content-Type")) {
      request.addHeader("Content-Type", protocolFactory.getContentType());
    }

    return request;
  }
  public Request<PurchaseProvisionedCapacityRequest> marshall(
      PurchaseProvisionedCapacityRequest purchaseProvisionedCapacityRequest) {

    if (purchaseProvisionedCapacityRequest == null) {
      throw new SdkClientException("Invalid argument passed to marshall(...)");
    }

    Request<PurchaseProvisionedCapacityRequest> request =
        new DefaultRequest<PurchaseProvisionedCapacityRequest>(
            purchaseProvisionedCapacityRequest, "AmazonGlacier");

    request.setHttpMethod(HttpMethodName.POST);

    String uriResourcePath = "/{accountId}/provisioned-capacity";

    uriResourcePath =
        com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(
            uriResourcePath,
            "accountId",
            purchaseProvisionedCapacityRequest.getAccountId() == null
                ? "-"
                : purchaseProvisionedCapacityRequest.getAccountId());
    request.setResourcePath(uriResourcePath);

    request.setContent(new ByteArrayInputStream(new byte[0]));
    if (!request.getHeaders().containsKey("Content-Type")) {
      request.addHeader("Content-Type", protocolFactory.getContentType());
    }

    return request;
  }